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:
This commit is contained in:
Juan Quintela 2009-08-03 14:46:19 +02:00 committed by Anthony Liguori
parent e174c0bb9a
commit 884044aab1
3 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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

1
configure vendored
View File

@ -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