On Mon, Nov 04, 2013 at 10:30:22PM +0100, Matthieu Herrb wrote:
> [even with this patch I still have an issue with the glx extension
> module build, but it's probably not directly related, so I'm going to
> investigate further and send another patch. 

This additional hunk fixes this issue above for systems where libGL.so
is not in the default linker search path.

diff --git configure.ac configure.ac
index 0d855f2..308c917 100644
--- configure.ac
+++ configure.ac
@@ -1074,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

-- 
Matthieu Herrb
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to