Skip to content

Commit cb95b22

Browse files
Alexpuxlazka
authored andcommitted
MINGW link with additional library
1 parent ed46794 commit cb95b22

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

configure.ac

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6657,6 +6657,15 @@ for dir in $SRCDIRS; do
66576657
done
66586658
AC_MSG_RESULT(done)
66596659

6660+
# For mingw build need additional library for linking
6661+
case $host in
6662+
*-*-mingw*)
6663+
LIBS="$LIBS -lversion -lshlwapi -lpathcch"
6664+
;;
6665+
*)
6666+
;;
6667+
esac
6668+
66606669
# Availability of -O2:
66616670
AC_CACHE_CHECK([for -O2], [ac_cv_compile_o2], [
66626671
saved_cflags="$CFLAGS"

0 commit comments

Comments
 (0)