summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-01-25 21:36:36 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-01-25 21:36:36 (GMT)
commit0b964da9e36336086637dbf2cf240e2ff509302f (patch)
treec13453ab87cd5c08764e1a9173f3fd2aea69072c /unix/tcl.m4
parent0f2efc156d3aec11091d4c9b107eff66508a912f (diff)
downloadtk-0b964da9e36336086637dbf2cf240e2ff509302f.zip
tk-0b964da9e36336086637dbf2cf240e2ff509302f.tar.gz
tk-0b964da9e36336086637dbf2cf240e2ff509302f.tar.bz2
Fix TK_SHLIB_LD_EXTRAS for FreeBSD (and Cygwin), reported by Pietro Cerutti
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index e9795b8..c57111b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1247,6 +1247,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
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'
AC_CACHE_CHECK(for Cygwin version of gcc,
ac_cv_cygwin,
AC_TRY_COMPILE([
@@ -1563,6 +1564,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
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=""