diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2024-01-30 14:02:03 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-02-04 22:54:48 -0600 |
commit | 4dad5b3e5ff9f2fdf9e66fcda171604f1a319eed (patch) | |
tree | 86af697783c6acddd121b3c8598327960769bf45 /source-builder | |
parent | bare/config/qemu-5.2.0: Add gdbus-codegen patch (diff) | |
download | rtems-source-builder-4dad5b3e5ff9f2fdf9e66fcda171604f1a319eed.tar.bz2 |
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.
Diffstat (limited to 'source-builder')
-rwxr-xr-x | source-builder/aarch64-linux-gnu-pkg-config | 3 | ||||
-rwxr-xr-x | source-builder/x86_64-linux-gnu-pkg-config | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source-builder/aarch64-linux-gnu-pkg-config b/source-builder/aarch64-linux-gnu-pkg-config new file mode 100755 index 0000000..09d7b16 --- /dev/null +++ b/source-builder/aarch64-linux-gnu-pkg-config @@ -0,0 +1,3 @@ +#! /bin/sh +base=$(dirname $0) +exec ${base}/pkg-config $* diff --git a/source-builder/x86_64-linux-gnu-pkg-config b/source-builder/x86_64-linux-gnu-pkg-config new file mode 100755 index 0000000..09d7b16 --- /dev/null +++ b/source-builder/x86_64-linux-gnu-pkg-config @@ -0,0 +1,3 @@ +#! /bin/sh +base=$(dirname $0) +exec ${base}/pkg-config $* |