2006-07-20 19:20:34 +00:00
|
|
|
--- tcl-8.4.13/tcl8.4.13/unix/tcl.m4.6-cflags 2006-07-20 15:11:19.000000000 -0400
|
|
|
|
+++ tcl-8.4.13/tcl8.4.13/unix/tcl.m4 2006-07-20 15:12:40.000000000 -0400
|
2006-07-20 19:00:09 +00:00
|
|
|
@@ -1340,7 +1340,7 @@
|
2006-07-20 19:20:34 +00:00
|
|
|
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
2006-07-20 19:00:09 +00:00
|
|
|
|
2006-07-20 19:20:34 +00:00
|
|
|
if test "$have_dl" = yes; then
|
|
|
|
- SHLIB_LD='${CC} -shared -Wl,-soname,${@}'
|
|
|
|
+ SHLIB_LD='${CC} ${CFLAGS} -shared -Wl,-soname,${@}'
|
|
|
|
DL_OBJS="tclLoadDl.o"
|
|
|
|
DL_LIBS="-ldl"
|
|
|
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|