Skip to content

Commit 48842cb

Browse files
committed
configure: fix pkg-config invocation
The code was already probing $PKGCONFIG but then still falls back to using the hardcoded `pkg-config` tool.
1 parent ae0efd3 commit 48842cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ else
15971597

15981598
if test -z "$JSCORELIB" -a -n "$PKGCONFIG"; then
15991599
AC_MSG_CHECKING(for JavaScriptCore/Webkit library)
1600-
if pkg-config javascriptcoregtk-1.0; then
1600+
if $PKGCONFIG javascriptcoregtk-1.0; then
16011601
JSCORELIB=`$PKGCONFIG --libs javascriptcoregtk-1.0`
16021602
JSCOREVERSION=`$PKGCONFIG --modversion javascriptcoregtk-1.0`
16031603
fi

0 commit comments

Comments
 (0)