summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 14:23:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 14:23:40 (GMT)
commit771103dda69711d0ecde7e072cdfdafdecebf5de (patch)
tree3293e18f08d208596943638b88541e49b19e0cf3
parenta505a28ede44cda0c24a97eb0e48f8b85506266c (diff)
downloadtk-771103dda69711d0ecde7e072cdfdafdecebf5de.zip
tk-771103dda69711d0ecde7e072cdfdafdecebf5de.tar.gz
tk-771103dda69711d0ecde7e072cdfdafdecebf5de.tar.bz2
Don't hardcode "tclWinError.o" for Cygwin.
-rwxr-xr-xunix/configure3
-rw-r--r--unix/tcl.m43
2 files changed, 4 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index e1e7dff..3682600 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4914,7 +4914,8 @@ fi
SHLIB_LD='${CC} -shared'
SHLIB_SUFFIX=".dll"
DL_OBJS="tclLoadDl.o"
- PLAT_OBJS="tclWinError.o"
+ PLAT_OBJS='${CYGWIN_OBJS}'
+ PLAT_SRCS='${CYGWIN_SRCS}'
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index dc5c16a..f12d0a8 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1225,7 +1225,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_LD='${CC} -shared'
SHLIB_SUFFIX=".dll"
DL_OBJS="tclLoadDl.o"
- PLAT_OBJS="tclWinError.o"
+ PLAT_OBJS='${CYGWIN_OBJS}'
+ PLAT_SRCS='${CYGWIN_SRCS}'
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""