shithub: sox

Download patch

ref: c6a736a0ab14cc8e69269b572868fd0d384306be
parent: af6968bff6431d751ed9792c1245e2406e2555b3
author: cbagwell <cbagwell>
date: Sun Nov 2 22:50:07 EST 2008

Use stricter linking on solaris as well.

--- a/configure.ac
+++ b/configure.ac
@@ -36,12 +36,9 @@
     dnl Force off using libltdl on targets that are know to have
     dnl problems.
     case $target in
-      *cygwin*)
+      *cygwin* | *os2*)
         using_libltdl=no
         ;;
-      *os2*)
-        using_libltdl=no
-        ;;
     esac
 fi
 
@@ -109,7 +106,7 @@
     fi
     dnl Define stricter policy on GNU/Linux, all symbols must be resolved
     case $target in
-      *linux*)
+      *linux* | *solaris*)
         LDFLAGS="$LDFLAGS -Wl,-z,defs"
         ;;
     esac