From: corinna Date: Mon, 16 Nov 2009 17:50:07 +0000 (+0000) Subject: * Makefile.in (cygserver.exe): Link with -static to avoid linking X-Git-Tag: cgen-snapshot-20091201~197 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ecf13bec973e55a28ec22a54b6d5986ae7626e0b;p=pf3gnuchains%2Fpf3gnuchains4x.git * Makefile.in (cygserver.exe): Link with -static to avoid linking against cygstdc++-6.dll due to references to __cxa_pure_virtual. --- diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog index a92896aef9..8233ce0d80 100644 --- a/winsup/cygserver/ChangeLog +++ b/winsup/cygserver/ChangeLog @@ -1,3 +1,8 @@ +2009-11-16 Corinna Vinschen + + * 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 * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): diff --git a/winsup/cygserver/Makefile.in b/winsup/cygserver/Makefile.in index d1bab9d5e1..b4dcbfacb5 100644 --- a/winsup/cygserver/Makefile.in +++ b/winsup/cygserver/Makefile.in @@ -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)