cvsdist 0f49a45
diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4
cvsdist 0f49a45
--- tcl8.3.5/unix/tcl.m4~	2003-01-14 20:42:53.000000000 +0900
cvsdist 0f49a45
+++ tcl8.3.5/unix/tcl.m4	2003-01-14 20:42:53.000000000 +0900
cvsdist 0f49a45
@@ -954,7 +954,7 @@
cvsdist 0f49a45
 	    CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
cvsdist 0f49a45
 
cvsdist 0f49a45
 	    if test "$have_dl" = yes; then
cvsdist 0f49a45
-		SHLIB_LD="${CC} -shared"
cvsdist 0f49a45
+		SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
cvsdist 0f49a45
 		DL_OBJS="tclLoadDl.o"
cvsdist 0f49a45
 		DL_LIBS="-ldl"
cvsdist 0f49a45
 		LDFLAGS="-rdynamic"