summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3df7c7fbd..4b1558aa7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2002-07-14 Christopher Faylor <cgf@redhat.com>
+ * Makefile.in (cygrun.exe): Add a -lcygwin on the end.
+
+2002-07-14 Christopher Faylor <cgf@redhat.com>
+
* Makefile.in (cygserver.exe): Add -lstdc++.
(cygrun.exe): Move -lgcc last.
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 0a5605144..b3fd42058 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -305,7 +305,7 @@ winver_stamp: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
cygrun.exe : cygrun.o $(LIB_NAME) $(w32api_lib)/libuser32.a \
$(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a
- $(CC) -nodefaultlibs -o $@ $^ -lgcc
+ $(CC) -nodefaultlibs -o $@ $^ -lgcc -lcygwin
cygserver_transport_outside.o: cygserver_transport.cc
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $<