diff options
Diffstat (limited to 'source/d/pkg-config/scripts')
-rwxr-xr-x | source/d/pkg-config/scripts/pkgconfig.csh | 6 | ||||
-rwxr-xr-x | source/d/pkg-config/scripts/pkgconfig.sh | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/source/d/pkg-config/scripts/pkgconfig.csh b/source/d/pkg-config/scripts/pkgconfig.csh new file mode 100755 index 000000000..477a93a76 --- /dev/null +++ b/source/d/pkg-config/scripts/pkgconfig.csh @@ -0,0 +1,6 @@ +#!/bin/csh +if ( $?PKG_CONFIG_PATH ) then + setenv PKG_CONFIG_PATH ${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig +else + setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/lib/pkgconfig +endif 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 |