diff options
Diffstat (limited to 'dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch')
-rw-r--r-- | dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch b/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch new file mode 100644 index 0000000..4f2dce9 --- /dev/null +++ b/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch @@ -0,0 +1,11 @@ +--- tcl8.4.15.orig/unix/tcl.m4 2007-05-25 05:40:13.000000000 +0900 ++++ tcl8.4.15/unix/tcl.m4 2007-07-20 08:40:41.000000000 +0900 +@@ -1345,7 +1345,7 @@ + #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" + + if test "$have_dl" = yes; then +- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' ++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" |