Commit f228216d authored by Christophe Mutricy's avatar Christophe Mutricy

Don't append option to $PKG-CONFIG if it's empty

parent 7faec405
...@@ -942,9 +942,11 @@ AC_ARG_VAR(PKG_CONFIG_PATH, ...@@ -942,9 +942,11 @@ AC_ARG_VAR(PKG_CONFIG_PATH,
PKG_PROG_PKG_CONFIG() PKG_PROG_PKG_CONFIG()
dnl On some OS we need static linking dnl On some OS we need static linking
AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce" -o "${SYS}" = "darwin" ],[ AS_IF([test -n "${PKG_CONFIG}" ],[
PKG_CONFIG="${PKG_CONFIG} --static" AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce" -o "${SYS}" = "darwin" ],[
]) PKG_CONFIG="${PKG_CONFIG} --static"
])
])
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