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)
commit006cb47ea5bad54b68b64a3d8a8788b71c19dd1b (patch)
treee40bc3bcd27564c210916245866b4881d50cf89e /unix
parente7d0f5ecae05758ef91de4a3c1e6422bd82953ed (diff)
parent47dec8659f9c449f942ca6424373d1d0fe6d80ee (diff)
downloadtcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.zip
tcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.tar.gz
tcl-006cb47ea5bad54b68b64a3d8a8788b71c19dd1b.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"