summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-05 18:39:11 -0800
committerKeith Packard <keithp@keithp.com>2013-11-05 18:39:11 -0800
commit8fcf82cbf015609e00b3feb9bc567133c7aee5cf (patch)
treeefafb36aa1743586c153aa080742c2aeb3b213c0
parentf348935e7d2c84a438aba08eee2f2c4e0dc77d20 (diff)
Use $GL_LIBS instead of -lGL for linking
-lGL presumes that the GL library is in the system path, while $GL_LIBS is auto-detected. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index feeae04d9..6925df814 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1075,7 +1075,7 @@ if test "x$GLX" = xyes; then
AC_SUBST(XLIB_CFLAGS)
AC_DEFINE(GLXEXT, 1, [Build GLX extension])
GLX_LIBS='$(top_builddir)/glx/libglx.la'
- GLX_SYS_LIBS="$GLX_SYS_LIBS -lGL"
+ GLX_SYS_LIBS="$GLX_SYS_LIBS $GL_LIBS"
else
GLX=no
fi