summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-03 19:21:26 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-03 19:21:26 +0000
commitf37aa98097f82045a0ac3087c9876054f55e5609 (patch)
tree14a69a13f4f5736894f56565273bdba60484d39e /configure.ac
parentd9567a58e6436442eaa793541ebee552b69d431c (diff)
Propagate $shlibpath_var not to use LD_LIBRARY_PATH (OSX and friends)
(based on a llvm commit by Jeffrey Yasskin :p)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4770ebd..d0d7698 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,9 @@ AC_STDC_HEADERS
AM_PROG_LIBTOOL
AC_PROG_LN_S
+# Export
+AC_SUBST(SHLIBPATH_VAR,$shlibpath_var)
+
### Default CFLAGS
DEFAULT_CFLAGS=""
DEFAULT_CFLAGS="-O -g3 -Wall -Wcast-align -Wstrict-prototypes \