]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use the -m option on ldconfig for BSD systems [Tobias].
authorMark Adler <madler@alumni.caltech.edu>
Sun, 29 Jan 2012 17:27:41 +0000 (09:27 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 29 Jan 2012 17:48:11 +0000 (09:48 -0800)
configure

index e2e5a70437a34cdf8b51419413c004a5e3a6ccad..780317ce400a898b47916e679112688501258ac6 100755 (executable)
--- a/configure
+++ b/configure
@@ -172,8 +172,11 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) >> configure.log 2>&1; then
     uname=`(uname -s || echo unknown) 2>/dev/null`
   fi
   case "$uname" in
-  Linux* | linux* | GNU | GNU/* | *BSD | *bsd* | DragonFly | solaris*)
+  Linux* | linux* | GNU | GNU/* | solaris*)
         LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
+  *BSD | *bsd* | DragonFly)
+        LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
+        LDCONFIG="ldconfig -m" ;;
   CYGWIN* | Cygwin* | cygwin* | OS/2*)
         EXE='.exe' ;;
   MINGW* | mingw*)