Artifact 59fdd08211480d40dbd6c6774c1af3980ac08cd7:
--- 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