--- tcl.m4	2005/03/19 02:29:50	1.62
+++ tcl.m4	2005/04/22 02:00:09
 
@@ -1441,11 +1441,11 @@
 	    # Digital OSF/1
 	    SHLIB_CFLAGS=""
 	    if test "$SHARED_BUILD" = "1" ; then
-	        SHLIB_LD='ld -shared -expect_unresolved "*"'
+	        SHLIB_LD="${CC} -shared"
 	    else
-	        SHLIB_LD='ld -non_shared -expect_unresolved "*"'
+	        SHLIB_LD="${CC} -non_shared"
 	    fi
-	    SHLIB_LD_LIBS=""
+	    SHLIB_LD_LIBS='${LIBS}'
 	    SHLIB_SUFFIX=".so"
 	    DL_OBJS="tclLoadDl.o"
 	    DL_LIBS=""
