diff options
-rw-r--r-- | data/aptitude/make.sh | 2 | ||||
-rwxr-xr-x | util/pkg-config.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/aptitude/make.sh b/data/aptitude/make.sh index 2c972ac89..0846c54c6 100644 --- a/data/aptitude/make.sh +++ b/data/aptitude/make.sh @@ -1,6 +1,6 @@ shopt -s extglob pkg:setup pkg:configure -pkg:make +make AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb' pkg:install rm -f "${PKG_DEST}"/usr/share/aptitude/!(aptitude-defaults|section-descriptions) #function_groups|function_pkgs diff --git a/util/pkg-config.sh b/util/pkg-config.sh index 22d2815b3..05c31677d 100755 --- a/util/pkg-config.sh +++ b/util/pkg-config.sh @@ -51,7 +51,7 @@ for pkg in "${pkgs[@]}"; do DEP_DEST=$(PKG_DEST_ "${DEP_NAME}") find "${DEP_DEST}" -name "${pkg}.pc" -printf "${DEP_DEST}\n" - done) && args_=(--define-variable=prefix="${dest}/usr" "${args_[@]}") + done | head -n 1) && args_=(--define-variable=prefix="${dest}/usr" "${args_[@]}") fi #echo @@@ pkg-config "${args_[@]}" "${pkg}" 1>&2 |