diff options
author | hobbs <hobbs> | 2007-12-05 18:41:01 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2007-12-05 18:41:01 (GMT) |
commit | ca08e90854046709c823d700238e3c3314452f20 (patch) | |
tree | 07e8bfb454ae1705ab2b7bf5885059006b3e89c2 /win | |
parent | a6f106e3dfb76a131074ba4264a198d19fe494aa (diff) | |
download | tk-ca08e90854046709c823d700238e3c3314452f20.zip tk-ca08e90854046709c823d700238e3c3314452f20.tar.gz tk-ca08e90854046709c823d700238e3c3314452f20.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')
-rwxr-xr-x | win/configure | 3 | ||||
-rw-r--r-- | win/tcl.m4 | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/win/configure b/win/configure index 30269df..5e75ca2 100755 --- a/win/configure +++ b/win/configure @@ -2732,7 +2732,8 @@ echo "$as_me: WARNING: 64bit mode not supported with GCC on Windows" >&2;} 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= @@ -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= |