From 7df2c73d5dd6f7e029a5ecf2f348aad891f9b962 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 31 Jul 2013 09:58:55 +0000 Subject: [PATCH] * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. These are only for Cygwin executables. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index b69b83317..00894b9b2 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2013-07-31 Corinna Vinschen + + * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. These + are only for Cygwin executables. + 2013-07-07 Christopher Faylor * cygcheck.cc (dll_info): Detect and report on symlinks. Output wrong diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index e42d748ce..dc72bebff 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -67,7 +67,7 @@ MINGW_BINS := ${addsuffix .exe,cygcheck cygwin-console-helper ldh strace} # list will will be compiled in Cygwin mode implicitly, so there is no # need for a CYGWIN_OBJS. MINGW_OBJS := bloda.o cygcheck.o dump_setup.o ldh.o path.o strace.o -MINGW_LDFLAGS:=-L${WINDOWS_LIBDIR} -static +MINGW_LDFLAGS:=-static CYGCHECK_OBJS:=cygcheck.o bloda.o path.o dump_setup.o ZLIB:=-lz