source-builder: Handle modern pkg-config symlinks

Modern versions of pkg-config include new architecture-specific symlinks
that are sometimes checked before "pkg-config". This causes builds to
detect the system pkg-config instead of the local overridden pkg-config
and fail to build properly. This overrides those new symlinks to restore
build functionality.
This commit is contained in:
Kinsey Moore 2024-01-30 14:02:03 -06:00 committed by Joel Sherrill
parent 5f4df1bd18
commit 4dad5b3e5f
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#! /bin/sh
base=$(dirname $0)
exec ${base}/pkg-config $*

View File

@ -0,0 +1,3 @@
#! /bin/sh
base=$(dirname $0)
exec ${base}/pkg-config $*