summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-21 23:55:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-21 23:55:33 +0000
commit1856f46ed882e136bc8b01602cd65edb77f1bf50 (patch)
treeac305d1d6ce6036ad5f240f72939133d4f5d4c79 /sys-libs/zlib/files
parentVersion bump. (diff)
downloadgentoo-2-1856f46ed882e136bc8b01602cd65edb77f1bf50.tar.gz
gentoo-2-1856f46ed882e136bc8b01602cd65edb77f1bf50.tar.bz2
gentoo-2-1856f46ed882e136bc8b01602cd65edb77f1bf50.zip
Generate DT_SONAME in the shared lib on BSD hosts #123571 by Diego Pettenò.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-libs/zlib/files')
-rw-r--r--sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch b/sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch
new file mode 100644
index 000000000000..4c98b9814482
--- /dev/null
+++ b/sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch
@@ -0,0 +1,15 @@
+Generate a DT_SONAME on *BSD machines
+
+http://bugs.gentoo.org/123571
+
+--- configure
++++ configure
+@@ -80,7 +80,7 @@
+ SFLAGS="${CFLAGS-"-O3"} -fPIC"
+ CFLAGS="$cflags"
+ case `(uname -s || echo unknown) 2>/dev/null` in
+- Linux | linux | GNU | GNU/*)
++ Linux | linux | GNU | GNU/* | *BSD | DragonFly)
+ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"}
+ MAPFILE=${MAPFILE-"-Wl,--version-script,mapfile"};;
+ CYGWIN* | Cygwin* | cygwin* | OS/2* )