2013-08-15 15:26:25 +00:00
|
|
|
diff --git a/unix/tcl.m4 b/unix/tcl.m4
|
2021-11-23 15:08:42 +00:00
|
|
|
index f3d08ec..1a8d6b6 100644
|
2013-08-15 15:26:25 +00:00
|
|
|
--- a/unix/tcl.m4
|
|
|
|
+++ b/unix/tcl.m4
|
2021-11-23 15:08:42 +00:00
|
|
|
@@ -1382,7 +1382,7 @@ 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"
|
|
|
|
|
2019-11-26 18:20:04 +00:00
|
|
|
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
|
|
|
|
+ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-soname,${@}'
|
2013-08-15 15:26:25 +00:00
|
|
|
DL_OBJS="tclLoadDl.o"
|
|
|
|
DL_LIBS="-ldl"
|
|
|
|
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
2021-11-23 15:08:42 +00:00
|
|
|
@@ -1398,7 +1398,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
|
|
|
|
esac
|
|
|
|
|
2013-08-15 15:26:25 +00:00
|
|
|
AS_IF([test $doRpath = yes], [
|
2021-11-23 15:08:42 +00:00
|
|
|
- CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'])
|
2013-08-15 15:26:25 +00:00
|
|
|
+ CC_SEARCH_FLAGS=''])
|
|
|
|
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
|
|
|
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
|
|
|
|
AS_IF([test $do64bit = yes], [
|