diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:46:19 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:38 -0500 |
commit | 884044aab173842df12d64630cd853dbe914e306 (patch) | |
tree | 9a7066cae2d65848a49d1b59e6af5bcd3d1a4baf | |
parent | e174c0bb9abc1eb8aeee357cdf53d17747298d8f (diff) |
Move to configure CONFIG_WIN32 libraries needed always
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | Makefile.target | 3 | ||||
-rwxr-xr-x | configure | 1 |
3 files changed, 1 insertions, 7 deletions
@@ -27,10 +27,6 @@ else DOCS= endif -ifdef CONFIG_WIN32 -LIBS+=-lwinmm -lws2_32 -liphlpapi -endif - build-all: $(TOOLS) $(DOCS) recurse-all config-host.mak: configure diff --git a/Makefile.target b/Makefile.target index 1f98862204..6b6e70f5d9 100644 --- a/Makefile.target +++ b/Makefile.target @@ -48,9 +48,6 @@ endif CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE CPPFLAGS+=-U_FORTIFY_SOURCE LIBS+=-lm -ifdef CONFIG_WIN32 -LIBS+=-lwinmm -lws2_32 -liphlpapi -endif ifdef CONFIG_SOLARIS ifdef CONFIG_NEEDS_LIBSUNMATH LIBS+=-lsunmath @@ -355,6 +355,7 @@ if test "$mingw32" = "yes" ; then fi EXESUF=".exe" CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS" + LIBS="-lwinmm -lws2_32 -liphlpapi $LIBS" fi # find source path |