summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions8
1 files changed, 7 insertions, 1 deletions
diff --git a/functions b/functions
index 80286e0..81927d0 100644
--- a/functions
+++ b/functions
@@ -513,7 +513,13 @@ add_binary() {
# resolve sodeps
regex='(/.+) \(0x[a-fA-F0-9]+\)'
while read line; do
- [[ $line =~ $regex ]] && sodep=${BASH_REMATCH[1]} || continue
+ if [[ $line =~ $regex ]]; then
+ sodep=${BASH_REMATCH[1]}
+ elif [[ $line = *'not found' ]]; then
+ error "binary dependency \`%s' not found for \`%s'" "${line%% *}" "$1"
+ (( ++builderrors ))
+ continue
+ fi
if [[ -f $sodep && ! -e $BUILDROOT$sodep ]]; then
if [[ ! -L $sodep ]]; then