[Mesa-dev] [PATCH 2/2] configure.ac: add DLOPEN_LIBS to xlib build

Marek Olšák maraeo at gmail.com
Mon Jul 25 16:12:20 PDT 2011


Otherwise xlib-based llvmpipe fails to link.

NOTE: This is a candidate for the 7.11 branch.
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 40924a9..1b1823a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
-- 
1.7.4.1



More information about the mesa-dev mailing list