Pass -avoid-version when building a shared library to avoid problems
authorSascha Schumann <sas@php.net>
Thu, 7 Oct 1999 10:03:24 +0000 (10:03 +0000)
committerSascha Schumann <sas@php.net>
Thu, 7 Oct 1999 10:03:24 +0000 (10:03 +0000)
    with "installing" symbolic links. We need to do this conditional, since
    some libtool versions imply --disable-static with this option.

configure.in

index 13683cdf8c4e439422d159bed2ef8758e60719f6..524daa9ba31e5993ea81f095c865d25d355e8067 100644 (file)
@@ -652,6 +652,7 @@ program)
 shared)
        enable_static=no
     passthru="$passthru --disable-static"
+    EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version"
 ;;
 static)
        enable_shared=no
@@ -785,6 +786,8 @@ if true; then
 
 fi
 
+PHP_SHOW_LD_LIBRARY_PATH
+
 ])
 
 divert