Move to configure CONFIG_SOLARIS 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:18 +02:00 committed by Anthony Liguori
parent 07ffa4bde6
commit e174c0bb9a
3 changed files with 1 additions and 5 deletions

View File

@ -27,10 +27,6 @@ else
DOCS=
endif
ifdef CONFIG_SOLARIS
LIBS+=-lsocket -lnsl -lresolv
endif
ifdef CONFIG_WIN32
LIBS+=-lwinmm -lws2_32 -liphlpapi
endif

View File

@ -52,7 +52,6 @@ ifdef CONFIG_WIN32
LIBS+=-lwinmm -lws2_32 -liphlpapi
endif
ifdef CONFIG_SOLARIS
LIBS+=-lsocket -lnsl -lresolv
ifdef CONFIG_NEEDS_LIBSUNMATH
LIBS+=-lsunmath
LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib

1
configure vendored
View File

@ -321,6 +321,7 @@ SunOS)
fi
audio_possible_drivers="oss sdl"
CFLAGS="-std=gnu99 $CFLAGS"
LIBS="-lsocket -lnsl -lresolv $LIBS"
;;
AIX)
aix="yes"