You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch

12 lines
477 B

--- 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"