summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-03-04 16:39:48 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-03-04 16:39:48 (GMT)
commit50b2868e84c072cf30e3a3200835f72ff583fc5d (patch)
treee40bc3bcd27564c210916245866b4881d50cf89e /unix
parent2f15356cc4b574cf80f7d7bef8d9002b7239cd43 (diff)
parent8da60d747906312c7003ef479fe7382231277802 (diff)
downloadtcl-50b2868e84c072cf30e3a3200835f72ff583fc5d.zip
tcl-50b2868e84c072cf30e3a3200835f72ff583fc5d.tar.gz
tcl-50b2868e84c072cf30e3a3200835f72ff583fc5d.tar.bz2
Patch from the cygwin folks
FossilOrigin-Name: 09cd534bb6f0dea416e6fe28123dd6c68aaeeba5
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure3
-rw-r--r--unix/tcl.m43
2 files changed, 6 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 72d704d..72d5d73 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7061,6 +7061,9 @@ fi
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
+ TCL_NEEDS_EXP_FILE=1
+ TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.dll.a'
+ TCL_SHLIB_LD_EXTRAS='-Wl,--out-implib,$@.a'
;;
dgux*)
SHLIB_CFLAGS="-K PIC"
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 2f7cb16..39f8ca1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1228,6 +1228,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
+ TCL_NEEDS_EXP_FILE=1
+ TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.dll.a'
+ TCL_SHLIB_LD_EXTRAS='-Wl,--out-implib,$[@].a'
;;
dgux*)
SHLIB_CFLAGS="-K PIC"