12 lines
533 B
Diff
12 lines
533 B
Diff
diff -Naur tk8.4.15.orig/unix/tcl.m4 tk8.4.15/unix/tcl.m4
|
|
--- tk8.4.15.orig/unix/tcl.m4 2007-05-26 01:09:54.000000000 +0900
|
|
+++ tk8.4.15/unix/tcl.m4 2007-07-21 02:16:13.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"
|