Add --static to PKG_CONFIG rather than replacing it.

This commit is contained in:
Nicholas Marriott 2016-05-05 15:18:58 +01:00
parent 29763d006a
commit fe4e9470bb
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ AC_ARG_ENABLE(
) )
if test "x$found_static" = xyes; then if test "x$found_static" = xyes; then
LDFLAGS="$LDFLAGS -static" LDFLAGS="$LDFLAGS -static"
PKG_CONFIG="pkg-config --static" test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
fi fi
# Is this gcc? # Is this gcc?