summaryrefslogtreecommitdiff
blob: 3fdd4843136ce454b1d8571ca81fcb5284fa8560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur tk8.5a6.orig/unix/tcl.m4 tk8.5a6/unix/tcl.m4
--- tk8.5a6.orig/unix/tcl.m4	2007-04-27 06:02:27.000000000 +0900
+++ tk8.5a6/unix/tcl.m4	2007-07-21 02:47:58.000000000 +0900
@@ -1425,7 +1425,7 @@
 	    # get rid of the warnings.
 	    #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
 
-	    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"