From 2c061f7d9f9d08f871400b58bc3adfdffd436db8 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Tue, 16 Jul 2019 21:12:32 -0600
Subject: [PATCH] Allow share/pkgconfig to be detected

---
 bin/x86_64-unknown-redox-pkg-config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/x86_64-unknown-redox-pkg-config b/bin/x86_64-unknown-redox-pkg-config
index 54776ef20..c1eb83233 100755
--- a/bin/x86_64-unknown-redox-pkg-config
+++ b/bin/x86_64-unknown-redox-pkg-config
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
-export PKG_CONFIG_PATH=
 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