From 969afaf753f96ac699e5ac3d02fb3d2e3c94c647 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 16 Nov 2009 08:50:07 +0000 Subject: [PATCH] * Makefile.in (cygserver.exe): Link with -static to avoid linking against cygstdc++-6.dll due to references to __cxa_pure_virtual. --- winsup/cygserver/ChangeLog | 5 +++++ winsup/cygserver/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog index a92896aef..8233ce0d8 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 d1bab9d5e..b4dcbfacb 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)