mirror of https://github.com/snes9xgit/snes9x.git
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:
parent
c47598f3cf
commit
9dc0ac6cd5
|
@ -146,6 +146,8 @@ else
|
||||||
CFLAGS="$CFLAGS -fomit-frame-pointer"
|
CFLAGS="$CFLAGS -fomit-frame-pointer"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
LIBS="$LIBS -lX11 -ldl -lXext"
|
||||||
|
|
||||||
ZSNESFX='#ZSNESFX=yes'
|
ZSNESFX='#ZSNESFX=yes'
|
||||||
ZSNESC4='#ZSNESC4=yes'
|
ZSNESC4='#ZSNESC4=yes'
|
||||||
ASMCPU=''
|
ASMCPU=''
|
||||||
|
@ -186,7 +188,7 @@ if test yes = "$with_opengl" ; then
|
||||||
AC_CHECK_LIB(GL,glGetString,[
|
AC_CHECK_LIB(GL,glGetString,[
|
||||||
OPENGL=yes
|
OPENGL=yes
|
||||||
CFLAGS="$CFLAGS -DUSE_OPENGL"
|
CFLAGS="$CFLAGS -DUSE_OPENGL"
|
||||||
LIBS="-lGL"
|
LIBS="$LIBS -lGL"
|
||||||
],[
|
],[
|
||||||
OPENGL=0
|
OPENGL=0
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue