From db84801dd5c1c97326b2ed8c25b206c5753b841e Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 22 Sep 1998 18:40:36 +0000 Subject: Only use -soname flag if building for an ELF world. Noticed by: smace --- lang/tcl80/files/patch-ab | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lang') diff --git a/lang/tcl80/files/patch-ab b/lang/tcl80/files/patch-ab index 5f838cee4470..43f2075d98bd 100644 --- a/lang/tcl80/files/patch-ab +++ b/lang/tcl80/files/patch-ab @@ -1,11 +1,15 @@ --- configure.orig Tue Nov 25 10:31:42 1997 -+++ configure Wed Sep 16 21:30:16 1998 -@@ -3782,14 +3782,18 @@ ++++ configure Tue Sep 22 13:29:15 1998 +@@ -3782,14 +3782,22 @@ echo "$ac_t""yes" 1>&6 SHLIB_CFLAGS="-fpic" - SHLIB_LD="ld -Bshareable -x" -+ SHLIB_LD="ld -Bshareable -x -soname \$@" ++ if [ "$PORTOBJFORMAT" = "elf" ]; then ++ SHLIB_LD="ld -shared -x -soname \$@" ++ else ++ SHLIB_LD="ld -Bshareable -x" ++ fi SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" -- cgit v1.2.3