Tcl Source Code

Artifact [59fdd08211]
Login

Artifact 59fdd08211480d40dbd6c6774c1af3980ac08cd7:

Attachment "tcl_m4.patch" to ticket [1921166fff] added by psum 2008-03-20 22:10:48.
--- tcl8.4.18/unix/tcl.m4.orig	Thu Mar 20 07:56:55 2008
+++ tcl8.4.18/unix/tcl.m4	Thu Mar 20 08:06:58 2008
@@ -1926,7 +1926,8 @@
 	    else
 		case $system in
 		    SunOS-5.[[1-9]][[0-9]]*)
-			SHLIB_LD='${CC} -G -z text';;
+			SHLIB_LD='${CC} -G -z text'
+			SHLIB_LD="$SHLIB_LD $LDFLAGS";;
 		    *)
 			SHLIB_LD="/usr/ccs/bin/ld -G -z text";;
 		esac