gallium: Fix build with llvm installed in non-standard location
[mesa.git] / configure.ac
index 1214100a8fddd950f305342b71a2ad8ea3152f30..96195976a0efa29d4a4f9a5da41a1cae14d3c9e1 100644 (file)
@@ -410,6 +410,7 @@ dnl Check to see if dlopen is in default libraries (like Solaris, which
 dnl has it in libc), or if libdl is needed to get it.
 AC_CHECK_FUNC([dlopen], [],
     [AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])])
+AC_SUBST([DLOPEN_LIBS])
 
 dnl See if posix_memalign is available
 AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])