Commit 5d6f80f2 authored by Christophe Mutricy's avatar Christophe Mutricy
Browse files

Request flags for static linking on win32 and MacOS

Only tested on a minimal win32 build. Please report configure/linking failure
parent 462ae983
......@@ -932,6 +932,12 @@ AC_ARG_VAR(PKG_CONFIG_PATH,
[Paths where to find .pc not at the default location])
dnl On some OS we need static linking
AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce" -o "${SYS}" = "darwin" ],[
PKG_CONFIG = "${PKG_CONFIG} --static"
dnl Check for zlib.h and -lz along with system -lminizip if available
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment