configure.ac: add DLOPEN_LIBS to xlib build
authorMarek Olšák <maraeo@gmail.com>
Mon, 25 Jul 2011 23:05:51 +0000 (01:05 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 27 Jul 2011 22:25:28 +0000 (00:25 +0200)
Otherwise xlib-based llvmpipe fails to link.

NOTE: This is a candidate for the 7.11 branch.

configure.ac

index 40924a966c5b52e67f3ae5580a34c0f2a765c35a..1b1823a211fd498b85aad59e981a4d5a9b34169a 100644 (file)
@@ -951,7 +951,7 @@ xyesyes)
         GL_PC_LIB_PRIV="$GL_LIB_DEPS"
         GL_PC_CFLAGS="$X11_INCLUDES"
     fi
-    GL_LIB_DEPS="$GL_LIB_DEPS $SELINUX_LIBS -lm -lpthread"
+    GL_LIB_DEPS="$GL_LIB_DEPS $SELINUX_LIBS -lm -lpthread $DLOPEN_LIBS"
     GL_PC_LIB_PRIV="$GL_PC_LIB_PRIV $SELINUX_LIBS -lm -lpthread"
 
     # if static, move the external libraries to the programs