summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-09 22:41:23 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-09 22:41:23 (EDT)
commit2f7c964ba148c2d4fa0ddc687756b62325be968e (patch)
tree6a8266dafa8ba92995fd33828cdd04f1860f98ef /lib
parent53becbc0ae81f95babbbd8b223cb683847f965f5 (diff)
Support union dependencies in ob_reduce_deps.
Diffstat (limited to 'lib')
-rw-r--r--lib/deps.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index 01247a0..f7f6e38 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -170,7 +170,14 @@ ob_reduce_deps()
_obrd_dep_list="${_obrd_dep_list}${_obrd_dep_or_list}"
fi
else
- :
+ _obrd_dep="$(ob_parse_dep -a "${_obrd_host_arch}" \
+ "${_obrd_dep_and}")"
+ if [ -n "${_obrd_dep}" ]; then
+ if [ -n "${_obrd_dep_list}" ]; then
+ _obrd_dep_list="${_obrd_dep_list}, "
+ fi
+ _obrd_dep_list="${_obrd_dep_list}${_obrd_dep}"
+ fi
fi
done