ports: Add SONAME to zlib's dynamic library

This commit is contained in:
Bananymous 2025-06-24 22:53:58 +03:00
parent 7dc187fdb1
commit dba32fb95d
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -ruN zlib-1.3.1/configure zlib-1.3.1-banan_os/configure
--- zlib-1.3.1/configure 2024-01-21 04:29:31.000000000 +0200
+++ zlib-1.3.1-banan_os/configure 2025-06-27 23:48:53.039461360 +0300
@@ -236,6 +236,8 @@
*BSD | *bsd* | DragonFly)
LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,${SRCDIR}zlib.map"}
LDCONFIG="ldconfig -m" ;;
+ *banan_os)
+ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"} ;;
CYGWIN* | Cygwin* | cygwin* | *-cygwin* | OS/2*)
EXE='.exe' ;;
MINGW* | mingw* | *-mingw*)