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

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, ...@@ -932,6 +932,12 @@ AC_ARG_VAR(PKG_CONFIG_PATH,
[Paths where to find .pc not at the default location]) [Paths where to find .pc not at the default location])
PKG_PROG_PKG_CONFIG() PKG_PROG_PKG_CONFIG()
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 dnl
dnl Check for zlib.h and -lz along with system -lminizip if available dnl Check for zlib.h and -lz along with system -lminizip if available
dnl dnl
......
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