against cygstdc++-6.dll due to references to __cxa_pure_virtual.
+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):
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)