Blame SOURCES/tk-8.6.10-conf.patch
|
|
ad29e6 |
diff --git a/unix/tcl.m4 b/unix/tcl.m4
|
|
|
ad29e6 |
index 0e146e4..613a276 100644
|
|
|
ad29e6 |
--- a/unix/tcl.m4
|
|
|
ad29e6 |
+++ b/unix/tcl.m4
|
|
|
ad29e6 |
@@ -1410,12 +1410,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
|
|
|
ad29e6 |
# get rid of the warnings.
|
|
|
ad29e6 |
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
|
|
ad29e6 |
|
|
|
ad29e6 |
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
|
|
|
ad29e6 |
+ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-soname,${@}'
|
|
|
ad29e6 |
DL_OBJS="tclLoadDl.o"
|
|
|
ad29e6 |
DL_LIBS="-ldl"
|
|
|
ad29e6 |
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
|
|
ad29e6 |
AS_IF([test $doRpath = yes], [
|
|
|
ad29e6 |
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
|
|
|
ad29e6 |
+ CC_SEARCH_FLAGS=''])
|
|
|
ad29e6 |
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
|
|
ad29e6 |
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
|
|
|
ad29e6 |
AS_IF([test $do64bit = yes], [
|