tk/tk-8.6.1-conf.patch

20 lines
759 B
Diff
Raw Normal View History

2013-08-15 15:26:25 +00:00
diff --git a/unix/tcl.m4 b/unix/tcl.m4
2014-04-24 15:17:50 +00:00
index 194cf90..c470e36 100644
2013-08-15 15:26:25 +00:00
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
2014-04-24 15:17:50 +00:00
@@ -1415,12 +1415,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
2013-08-15 15:26:25 +00:00
# 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} -Wl,-soname,${@}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
AS_IF([test $doRpath = yes], [
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
+ CC_SEARCH_FLAGS=''])
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [