summaryrefslogtreecommitdiff
path: root/exec.sh
diff options
context:
space:
mode:
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