summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 11:13:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 11:13:54 (GMT)
commit5bf292f9ab0ddda2f59f652e94185832af078740 (patch)
tree2c1ed6aeac43100a4b7ad6192471250ff83bc847 /unix/configure.in
parente309f08cc258675d9627d27fbb8c16bf5a215534 (diff)
downloadtk-5bf292f9ab0ddda2f59f652e94185832af078740.zip
tk-5bf292f9ab0ddda2f59f652e94185832af078740.tar.gz
tk-5bf292f9ab0ddda2f59f652e94185832af078740.tar.bz2
Link cygwin wish.exe with win32 tk.dll, only in combination with --enable-shared
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 1542638..a5fef0c 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -503,8 +503,8 @@ else
eval TK_LIB_FLAG="-ltk`echo ${VERSION} | tr -d .`\${TK_DBGX}"
fi
TK_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG}"
- if test "${ac_cv_cygwin+set}" = set; then
- WISH_BUILD_LIB_SPEC="-L\$(TOP_DIR)/win -ltk84 \${TCL_LIB_SPEC}"
+ if test "${ac_cv_cygwin}" = "yes" -a "$SHARED_BUILD" = "1"; then
+ WISH_BUILD_LIB_SPEC="-L\$(TOP_DIR)/win -ltk\${MAJOR_VERSION}\${MINOR_VERSION} \${TCL_LIB_SPEC}"
else
WISH_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG} \${WISH_LIBS}"
fi