aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d66291f2..3692a521 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,7 @@ AC_ARG_ENABLE(
)
if test "x$found_static" = xyes; then
LDFLAGS="$LDFLAGS -static"
- PKG_CONFIG="pkg-config --static"
+ test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
fi
# Is this gcc?