summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 532ce34fdb..5edcc59c64 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -48,7 +48,7 @@ dnl
dnl builds RPATH from PHP_RPATHS
dnl
AC_DEFUN(AC_BUILD_RPATH,[
- if test "$enable_rpath" = "yes"; then
+ if test "$enable_rpath" = "yes" && test -n "$PHP_RPATHS"; then
if test -n "$AXPS"; then
for i in $PHP_RPATHS; do
RPATHS="$RPATHS ${apxs_runpath_switch}$i'"