From ab39f80ffc7ba8e57517eaaa622f55fa76747e7d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 21 Feb 2006 23:55:33 +0000 Subject: Generate DT_SONAME in the shared lib on BSD hosts #123571 by Diego Pettenò. Package-Manager: portage-2.1_pre4-r1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sys-libs/zlib/files/zlib-1.2.3-bsd-soname.patch (limited to 'sys-libs/zlib/files') 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* ) -- cgit v1.2.3-65-gdbad