summaryrefslogtreecommitdiffstats
path: root/source/d/pkg-config/scripts/pkgconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/pkg-config/scripts/pkgconfig.sh')
-rwxr-xr-xsource/d/pkg-config/scripts/pkgconfig.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/d/pkg-config/scripts/pkgconfig.sh b/source/d/pkg-config/scripts/pkgconfig.sh
new file mode 100755
index 000000000..c3f350313
--- /dev/null
+++ b/source/d/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
+else
+ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
+fi
+export PKG_CONFIG_PATH