mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-13 20:22:36 +00:00
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"
|
||||
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
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user