Tcl Source Code

Artifact [a3f263a43c]
Login

Artifact a3f263a43c91db2223785c4318e3f44fb0a30e89:

Attachment "tcl-8.3.5-tclm4-soname.patch" to ticket [1231017fff] added by dgp 2005-07-01 22:24:20.
diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4
--- tcl8.3.5/unix/tcl.m4~	2003-01-14 20:42:53.000000000 +0900
+++ tcl8.3.5/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"