You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build snes9x-gtk with default configuration (no option provided to configure) the build fails due to the following missing libraries: libX11, libdl, libXext.
Moreover, it is not possible to add them by setting LIBS when calling configure because the value is overriden by OpenGL libs (the simple patch below fixes this).
diff --git a/gtk/configure.ac b/gtk/configure.ac
index c03db53..77339b4 100644
--- a/gtk/configure.ac
+++ b/gtk/configure.ac
@@ -186,7 +186,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
])
The text was updated successfully, but these errors were encountered:
pkg-config should be handling the inclusion of those libraries with gdk-x11, so I'm not sure why they're not being added. I've added a fixed inclusion of them just in case, and fixed the overwriting issue you mentioned.
When attempting to build snes9x-gtk with default configuration (no option provided to configure) the build fails due to the following missing libraries:
libX11
,libdl
,libXext
.Moreover, it is not possible to add them by setting
LIBS
when calling configure because the value is overriden by OpenGL libs (the simple patch below fixes this).The text was updated successfully, but these errors were encountered: