summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cryptlib/files/cryptlib-3.3.0-ld.patch')
-rw-r--r--dev-libs/cryptlib/files/cryptlib-3.3.0-ld.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/cryptlib/files/cryptlib-3.3.0-ld.patch b/dev-libs/cryptlib/files/cryptlib-3.3.0-ld.patch
new file mode 100644
index 000000000000..18ed2962f5fa
--- /dev/null
+++ b/dev-libs/cryptlib/files/cryptlib-3.3.0-ld.patch
@@ -0,0 +1,13 @@
+--- ./tools/buildsharedlib.sh.old 2006-10-22 15:24:29.000000000 +0200
++++ ./tools/buildsharedlib.sh 2006-10-22 15:25:49.000000000 +0200
+@@ -98,7 +98,8 @@ case $OSNAME in
+ strip $LIBNAME ;;
+
+ *)
+- $LD -shared -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
+- strip $LIBNAME ;;
++ $LD -shared -Wl,-soname,$LIBNAME -o $LIBNAME `cat $LINKFILE` `./tools/getlibs.sh autodetect` ;
++# strip $LIBNAME
++ ;;
+ esac
+ rm -f $LINKFILE