summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-04 16:38:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-04 16:38:22 (GMT)
commit47dec8659f9c449f942ca6424373d1d0fe6d80ee (patch)
tree9e274cdbd334b76e1188eea62fee37cf6ce2c1e6 /unix
parent4afe209dcaf4aed60329f4f216ffd383d0aa1c61 (diff)
parentb5830ef3aed89fc5af7d49820dcbeca3c5ebc65e (diff)
downloadtcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.zip
tcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.tar.gz
tcl-47dec8659f9c449f942ca6424373d1d0fe6d80ee.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 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"