summaryrefslogtreecommitdiff
path: root/exec.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-09 02:50:34 +0000
committerJay Freeman <saurik@saurik.com>2009-08-09 02:50:34 +0000
commit1fc212398c58ef27963f84fa69df552acacf7767 (patch)
tree34b4e1e2507af390799e3c606d094760a383fa4a /exec.sh
parent35d894811b58293feab572d52024530411fd9728 (diff)
jlanger failed to build my zsh.
git-svn-id: http://svn.telesphoreo.org/trunk@647 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'exec.sh')
-rwxr-xr-xexec.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/exec.sh b/exec.sh
index f1c19b4a5..cbaecaa23 100755
--- a/exec.sh
+++ b/exec.sh
@@ -28,6 +28,7 @@ for dep in ${deps[@]}; do
# XXX: bother dealing with weird arguments?
#DEP_NAME=$(basename "${dep}" .dep)
DEP_NAME=${dep}
+ DEP_MORE=$(PKG_MORE_ "${DEP_NAME}")
DEP_DEST=$(PKG_DEST_ "${DEP_NAME}")
PKG_PATH=${PKG_PATH}:${DEP_DEST}
@@ -39,6 +40,10 @@ for dep in ${deps[@]}; do
PKG_LIBS=${DEP_DEST}${PKG_TAPF}/lib:${PKG_LIBS}
fi
+ if [[ -d ${DEP_MORE}${PKG_TAPF}/lib ]]; then
+ PKG_LIBS=${DEP_MORE}${PKG_TAPF}/lib:${PKG_LIBS}
+ fi
+
if [[ -d ${DEP_DEST}${PKG_TAPF}/lib/pkgconfig ]]; then
PKG_PKGS=${DEP_DEST}${PKG_TAPF}/lib/pkgconfig:${PKG_PKGS}
fi