summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-05 05:32:22 +0000
committerEric Christopher <echristo@gmail.com>2015-08-05 05:32:22 +0000
commit5aed14945cc4e97c0d6f315b5a17df8d91c34803 (patch)
treeff53e1724338165d8f40a37988050a0e32f8914c /autoconf
parent6624be69113a2451b550d01e4bec9ede2f514c17 (diff)
Temporarily revert r244012 while we see if it's really necessary.
Add a comment explaining the current theory as to why we'd need the -lole32 on the link line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index eafca6c31d0..0451f7e3cfa 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1628,6 +1628,9 @@ dnl===-----------------------------------------------------------------------===
AC_CHECK_LIB(m,sin)
if test "$llvm_cv_os_type" = "MingW" ; then
+ dnl mingw-gcc's driver doesn't imply -lole32 by default so we may need this
+ dnl when being built with gcc for bootstrapping purposes.
+ AC_CHECK_LIB(ole32, main)
AC_CHECK_LIB(psapi, main)
AC_CHECK_LIB(shell32, main)
fi