From 7d0e0c82db6ca5f2211de3e1d37d6dfb2ab7996e Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Wed, 5 May 2021 19:59:45 -0600
Subject: [PATCH] Add aarch64 pkg-config binary

---
 bin/aarch64-unknown-redox-pkg-config | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100755 bin/aarch64-unknown-redox-pkg-config

diff --git a/bin/aarch64-unknown-redox-pkg-config b/bin/aarch64-unknown-redox-pkg-config
new file mode 100755
index 000000000..c1eb83233
--- /dev/null
+++ b/bin/aarch64-unknown-redox-pkg-config
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
+export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
+export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
+
+exec pkg-config --static "$@"
-- 
GitLab