summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-09-01 08:11:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-09-01 08:11:52 (GMT)
commit496282eb49d6e1f93e445ed27bbdefda520a1dc5 (patch)
tree78668c6ff967e1509e8b3f25eba73350de1c42d3 /unix/configure
parent3e5b721aafe4f87b4618f2228341fb465a64acee (diff)
downloadtcl-496282eb49d6e1f93e445ed27bbdefda520a1dc5.zip
tcl-496282eb49d6e1f93e445ed27bbdefda520a1dc5.tar.gz
tcl-496282eb49d6e1f93e445ed27bbdefda520a1dc5.tar.bz2
Combine TCL_SHLIB_LD_EXTRAS+TK_SHLIB_LD_EXTRAS (for Cygwin and FreeBSD) to a single SHLIB_LD_LIBS usable for both Tcl and Tk.
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure6
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure
index e4ff106..d11e7d2 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6938,8 +6938,7 @@ fi
LD_SEARCH_FLAGS=""
TCL_NEEDS_EXP_FILE=1
TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.dll.a'
- TCL_SHLIB_LD_EXTRAS='-Wl,--out-implib,$@.a'
- TK_SHLIB_LD_EXTRAS='-Wl,--out-implib,$@.a'
+ SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,--out-implib,\$@.a"
echo "$as_me:$LINENO: checking for Cygwin version of gcc" >&5
echo $ECHO_N "checking for Cygwin version of gcc... $ECHO_C" >&6
if test "${ac_cv_cygwin+set}" = set; then
@@ -7644,8 +7643,7 @@ fi
# This configuration from FreeBSD Ports.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
- TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
- TK_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
+ SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,-soname,\$@"
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""