summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-03-04 16:38:22 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-03-04 16:38:22 (GMT)
commit8da60d747906312c7003ef479fe7382231277802 (patch)
tree9e274cdbd334b76e1188eea62fee37cf6ce2c1e6 /unix
parent53f9c66ccc0d8b6f60b1fee6517a8fb24cf82908 (diff)
parent555abfe6b88a16182b2100eddd1634eb4b7cf356 (diff)
downloadtcl-8da60d747906312c7003ef479fe7382231277802.zip
tcl-8da60d747906312c7003ef479fe7382231277802.tar.gz
tcl-8da60d747906312c7003ef479fe7382231277802.tar.bz2
Patch from the cygwin folks
FossilOrigin-Name: 8dafecc06c0b746cac26875866ca3846719a07a6
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 2ba3d68..43c2d1c 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6935,6 +6935,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 78eacd9..37c7c74 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1245,6 +1245,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"