OSDN Git Service

* Makefile.in (cygserver.exe): Link with -static to avoid linking
authorcorinna <corinna>
Mon, 16 Nov 2009 17:50:07 +0000 (17:50 +0000)
committercorinna <corinna>
Mon, 16 Nov 2009 17:50:07 +0000 (17:50 +0000)
against cygstdc++-6.dll due to references to __cxa_pure_virtual.

winsup/cygserver/ChangeLog
winsup/cygserver/Makefile.in

index a92896a..8233ce0 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-16  Corinna Vinschen  <corinna@vinschen.de>
+
+       * Makefile.in (cygserver.exe): Link with -static to avoid linking
+       against cygstdc++-6.dll due to references to __cxa_pure_virtual.
+
 2009-11-06  Corinna Vinschen  <corinna@vinschen.de>
 
        * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
index d1bab9d..b4dcbfa 100644 (file)
@@ -69,7 +69,7 @@ libclean:
 fullclean: clean libclean
 
 cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
-       $(CXX) -o $@ ${wordlist 2,999,$^} -static-libgcc -L$(cygwin_build) -lntdll
+       $(CXX) -o $@ ${wordlist 2,999,$^} -static -static-libgcc -L$(cygwin_build) -lntdll
 
 $(cygwin_build)/%.o: $(cygwin_source)/%.cc
        @$(MAKE) -C $(@D) $(@F)