34 lines
752 B
Diff
34 lines
752 B
Diff
From fb0ec5b49cf7e6e4748ff40e47c1b96d10ec6e7f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
|
|
<alexey.pawlow@gmail.com>
|
|
Date: Thu, 17 Jun 2021 18:52:08 +0530
|
|
Subject: [PATCH 055/N] MINGW link with additional library
|
|
|
|
---
|
|
configure.ac | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 6408409..e3dfab7 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -5872,6 +5872,15 @@ for dir in $SRCDIRS; do
|
|
done
|
|
AC_MSG_RESULT(done)
|
|
|
|
+# For mingw build need additional library for linking
|
|
+case $host in
|
|
+ *-*-mingw*)
|
|
+ LIBS="$LIBS -lversion -lshlwapi -lpathcch"
|
|
+ ;;
|
|
+ *)
|
|
+ ;;
|
|
+esac
|
|
+
|
|
# Availability of -O2:
|
|
AC_MSG_CHECKING(for -O2)
|
|
saved_cflags="$CFLAGS"
|
|
--
|
|
2.35.1
|
|
|