Skip to content

Commit f7354b8

Browse files
Alexpuxlazka
authored andcommitted
MINGW link with additional library
1 parent f74deea commit f7354b8

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
@@ -6653,6 +6653,15 @@ for dir in $SRCDIRS; do
66536653
done
66546654
AC_MSG_RESULT(done)
66556655

6656+
# For mingw build need additional library for linking
6657+
case $host in
6658+
*-*-mingw*)
6659+
LIBS="$LIBS -lversion -lshlwapi -lpathcch"
6660+
;;
6661+
*)
6662+
;;
6663+
esac
6664+
66566665
# Availability of -O2:
66576666
AC_CACHE_CHECK([for -O2], [ac_cv_compile_o2], [
66586667
saved_cflags="$CFLAGS"

0 commit comments

Comments
 (0)