summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-25 21:37:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-25 21:37:24 (GMT)
commit53dc4635d0bf64085467f976a07067844f7016c7 (patch)
tree48ddeb7f47b8c3af59f3c8a13b707a2dec7bbaa4 /unix/configure
parenta30279739b3a8f30696b44c63ea6780453099f5c (diff)
parent20bc7221f1c2e775d754f2e3616c8dd961c1481b (diff)
downloadtk-53dc4635d0bf64085467f976a07067844f7016c7.zip
tk-53dc4635d0bf64085467f976a07067844f7016c7.tar.gz
tk-53dc4635d0bf64085467f976a07067844f7016c7.tar.bz2
Fix TK_SHLIB_LD_EXTRAS for FreeBSD (and Cygwin), reported by Pietro Cerutti
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index de9eaa9..ab4f9f6 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4853,6 +4853,7 @@ fi
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'
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
@@ -5586,6 +5587,7 @@ fi
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
TCL_SHLIB_LD_EXTRAS="-Wl,-soname=\$@"
+ TK_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""