You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
518 B
12 lines
518 B
--- tcl8.5.0/unix/tcl.m4.conf 2007-12-20 10:48:05.000000000 +0100
|
|
+++ tcl8.5.0/unix/tcl.m4 2007-12-20 10:48:52.000000000 +0100
|
|
@@ -1427,7 +1427,7 @@ dnl AC_CHECK_TOOL(AR, ar)
|
|
# get rid of the warnings.
|
|
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
|
|
|
- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
|
|
+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}'
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS="-ldl"
|
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|