Fix overwritten LIBS variable. Add some libraries to it in case

pkg-config doesn't include them with GTK+ for some reason.
This commit is contained in:
Brandon Wright 2011-04-12 05:15:57 -05:00
parent c47598f3cf
commit 9dc0ac6cd5

View File

@ -146,6 +146,8 @@ else
CFLAGS="$CFLAGS -fomit-frame-pointer"
fi
LIBS="$LIBS -lX11 -ldl -lXext"
ZSNESFX='#ZSNESFX=yes'
ZSNESC4='#ZSNESC4=yes'
ASMCPU=''
@ -186,7 +188,7 @@ if test yes = "$with_opengl" ; then
AC_CHECK_LIB(GL,glGetString,[
OPENGL=yes
CFLAGS="$CFLAGS -DUSE_OPENGL"
LIBS="-lGL"
LIBS="$LIBS -lGL"
],[
OPENGL=0
])