summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-04 16:39:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-04 16:39:48 (GMT)
commitba2470470137af8787d19239c6f60d8b182f70b3 (patch)
treee40bc3bcd27564c210916245866b4881d50cf89e /unix
parenta7f1089e87dd31ac949522312a911f1c8e013d39 (diff)
parentf28d0bc94fc664d49cd9f24f5359eb108fb0a14b (diff)
downloadtcl-ba2470470137af8787d19239c6f60d8b182f70b3.zip
tcl-ba2470470137af8787d19239c6f60d8b182f70b3.tar.gz
tcl-ba2470470137af8787d19239c6f60d8b182f70b3.tar.bz2
Patch from the cygwin folks
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"