summaryrefslogtreecommitdiffstats
path: root/pkgconf-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconf-wrapper.sh')
-rw-r--r--pkgconf-wrapper.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgconf-wrapper.sh b/pkgconf-wrapper.sh
new file mode 100644
index 0000000..5cd1640
--- /dev/null
+++ b/pkgconf-wrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ x"${OPK_HOST_ARCH}" != x'' ]; then
+ export PKG_CONFIG_LIBDIR="/usr/lib/${OPK_HOST_ARCH}/pkgconfig"
+ export PKG_CONFIG_PATH="/usr/lib/${OPK_HOST_ARCH}/pkgconfig"
+fi
+
+exec /usr/libexec/pkgconf "${@}"