[Mesa-stable] [PATCH] configure.ac: add missing llvm dependencies to .pc files

Chuck Atkins chuck.atkins at kitware.com
Wed Jan 24 20:10:35 UTC 2018


CC: <mesa-stable at lists.freedesktop.org>
Signed-of-by: Chuck Atkins <chuck.atkins at kitware.com>
---
 configure.ac | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/configure.ac b/configure.ac
index 7c1fbe0ed1..e1be7b78e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2780,6 +2780,18 @@ if test "x$enable_llvm" = xyes; then
             fi
         fi
     fi
+    if test "xenable_glx" != xno; then
+        GL_PC_LIB_PRIV="$GL_PC_LIB_PRIV $LLVM_LIBS"
+    fi
+    if test "xenable_gles1" = xyes; then
+        GLESv1_CM_PC_LIB_PRIV="$GLESv1_CM_PC_LIB_PRIV $LLVM_LIBS"
+    fi
+    if test "xenable_gles2" = xyes; then
+        GLESv2_PC_LIB_PRIV="$GLESv2_PC_LIB_PRIV $LLVM_LIBS"
+    fi
+    if test "x$enable_osmesa$enable_gallium_osmesa" != xnono; then
+        OSMESA_PC_LIB_PRIV="$OSMESA_PC_LIB_PRIV $OSMESA_PC_LIB_PRIV $LLVM_LIBS"
+    fi
 fi
 
 AM_CONDITIONAL(HAVE_GALLIUM_SVGA, test "x$HAVE_GALLIUM_SVGA" = xyes)
-- 
2.14.3



More information about the mesa-stable mailing list