summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-06 10:28:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-06 10:28:28 (GMT)
commit1ccdd5f18672bc47517b020a1c65d861351fcfdd (patch)
treede226a118c5702aba957febd5ef2412e572b94f9 /unix/tcl.m4
parent158c112e03dcd064327688576f00d1d8150d2932 (diff)
downloadtcl-1ccdd5f18672bc47517b020a1c65d861351fcfdd.zip
tcl-1ccdd5f18672bc47517b020a1c65d861351fcfdd.tar.gz
tcl-1ccdd5f18672bc47517b020a1c65d861351fcfdd.tar.bz2
Don't assume/set LDFLAGS being "", it could be set on the "configure" command-line.
Remove "test-packages" test-target (which doesn't exist), but add "test-tcl" being the same as "test".
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 932b0ad..75608b5 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1507,7 +1507,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# Step 4 will set the necessary variables
DL_OBJS=""
SHLIB_LD_LIBS=""
- LDFLAGS=""
;;
*)
case "$arch" in
@@ -1526,7 +1525,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
- LDFLAGS="-Wl,-export-dynamic"
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
;;
esac
case "$arch" in
@@ -1576,7 +1575,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS=""
AS_IF([test $doRpath = yes], [
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])