summaryrefslogtreecommitdiff
path: root/packages/tcltk/files/tcl-add-soname.patch
blob: fe0273600516fe87d45bd251df047c8c1a90eba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4
--- unix/tcl.m4~	2003-01-14 20:42:53.000000000 +0900
+++ unix/tcl.m4	2003-01-14 20:42:53.000000000 +0900
@@ -954,7 +954,7 @@
 	    CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
 
 	    if test "$have_dl" = yes; then
-		SHLIB_LD="${CC} -shared"
+		SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
 		DL_OBJS="tclLoadDl.o"
 		DL_LIBS="-ldl"
 		LDFLAGS="-rdynamic"