diff --git a/contrib/php4/ltconfig b/contrib/php4/ltconfig
index 99b6fc8c1551a65510e6f859659c580740fcf0a4..feb5a1bcba3b08dead3ff7a0f04198350553f431 100755 (executable)
--- a/contrib/php4/ltconfig
+++ b/contrib/php4/ltconfig
if test "$ld_shlibs" = yes; then
runpath_var=LD_RUN_PATH
- hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+ #hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+ hardcode_libdir_flag_spec=''
export_dynamic_flag_spec='${wl}--export-dynamic'
case $host_os in
cygwin* | mingw*)