summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-12-05 18:40:10 (GMT)
committerhobbs <hobbs>2007-12-05 18:40:10 (GMT)
commit17fd365668a4dbca60cb9d949353bc47e9d6e356 (patch)
tree65d61d469e09afcd910bac0d21f64a0851a9125d /win/tcl.m4
parentaaa7b42489be7695c3d8bf9f541a012c5b498b55 (diff)
downloadtcl-17fd365668a4dbca60cb9d949353bc47e9d6e356.zip
tcl-17fd365668a4dbca60cb9d949353bc47e9d6e356.tar.gz
tcl-17fd365668a4dbca60cb9d949353bc47e9d6e356.tar.bz2
* win/configure, win/tcl.m4 (LIBS_GUI): mingw needs -lole32
-loleaut32 but not msvc for Tk's [send]. [Bug 1844749]
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 63b9053..833680f 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -447,7 +447,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_LD=""
SHLIB_LD_LIBS=""
LIBS="-lws2_32"
- LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid"
+ # mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't
+ LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32"
STLIB_LD='${AR} cr'
RC_OUT=-o
RC_TYPE=