Skip to content

Commit

Permalink
MINGW link with additional library
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux authored and lazka committed Aug 25, 2023
1 parent ed46794 commit cb95b22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6657,6 +6657,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_CACHE_CHECK([for -O2], [ac_cv_compile_o2], [
saved_cflags="$CFLAGS"
Expand Down

0 comments on commit cb95b22

Please sign in to comment.