summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-05 22:41:08 +0000
committerSascha Schumann <sas@php.net>1999-12-05 22:41:08 +0000
commitf2a090c6f18e6b0f12dbee9f590c339ee29e3f90 (patch)
tree81f4b3d9fdf0295e3ac1b5cd7cac99c6c27098ef /acinclude.m4
parent2e7c800e061be486e1667ba4fc2d9b1c845d36ef (diff)
downloadphp-git-f2a090c6f18e6b0f12dbee9f590c339ee29e3f90.tar.gz
Add rpaths to LDFLAGS during configure, drop them later.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a8a5c68ad4..ce8e69937a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -78,6 +78,7 @@ AC_DEFUN(AC_ADD_LIBPATH,[
if test "$1" != "/usr/lib"; then
AC_EXPAND_PATH($1, ai_p)
AC_PHP_ONCE(LIBPATH, $ai_p, [
+ test -n "$ld_runpath_switch" && LDFLAGS="$LDFLAGS $ld_runpath_switch$ai_p"
LDFLAGS="$LDFLAGS -L$ai_p"
PHP_RPATHS="$PHP_RPATHS $ai_p"
])