From e07a01a3c344dd5a0f5082e0ec81e97399894876 Mon Sep 17 00:00:00 2001 From: Shankar Giri Venkita Giri Date: Thu, 5 May 2016 12:58:01 +0200 Subject: [PATCH] Fix linking with autotools and mingw-64 ole32.lib is not linked automatically, but needed for mingw-64. Patch by Shankar Giri Venkita Giri (bug 10053). --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 159b3f581e..3f6b89c376 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,7 @@ AC_SUBST(LIBSHLWAPI) AC_CHECK_LIB(psapi, main, [LIBPSAPI=-lpsapi]) AC_SUBST(LIBPSAPI) AC_CHECK_LIB(gdi32, main) +AC_CHECK_LIB(ole32, main) LYX_USE_INCLUDED_BOOST LYX_USE_INCLUDED_MYTHES