summaryrefslogtreecommitdiffstats
path: root/patches/source/pkg-config/scripts/pkgconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/pkg-config/scripts/pkgconfig.sh')
-rwxr-xr-xpatches/source/pkg-config/scripts/pkgconfig.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/patches/source/pkg-config/scripts/pkgconfig.sh b/patches/source/pkg-config/scripts/pkgconfig.sh
new file mode 100755
index 000000000..96e07c4fa
--- /dev/null
+++ b/patches/source/pkg-config/scripts/pkgconfig.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ ! "$PKG_CONFIG_PATH" = "" ]; then
+ PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
+else
+ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
+fi
+export PKG_CONFIG_PATH