[rtems-source-builder commit] source-builder: Handle modern pkg-config symlinks
Joel Sherrill
joel at rtems.org
Mon Feb 5 04:54:52 UTC 2024
Module: rtems-source-builder
Branch: master
Commit: 4dad5b3e5ff9f2fdf9e66fcda171604f1a319eed
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=4dad5b3e5ff9f2fdf9e66fcda171604f1a319eed
Author: Kinsey Moore <kinsey.moore at oarcorp.com>
Date: Tue Jan 30 14:02:03 2024 -0600
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.
---
source-builder/aarch64-linux-gnu-pkg-config | 3 +++
source-builder/x86_64-linux-gnu-pkg-config | 3 +++
2 files changed, 6 insertions(+)
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 $*
More information about the vc
mailing list