Commit a6150cc7 authored by Natanael Copa's avatar Natanael Copa

abuild: fix move of .a file to -dev subpackage

seems like new version of busybox find would stop if lib/ dir does not
exist.
parent a5caab30
......@@ -1294,6 +1294,8 @@ default_dev() {
done
cd "$pkgdir" || return 0
local libdirs=usr/
[ -d lib/ ] && libdirs="lib/ $libdirs"
for i in usr/include usr/lib/pkgconfig usr/share/aclocal\
usr/share/gettext usr/bin/*-config \
usr/share/vala/vapi usr/share/gir-[0-9]*\
......@@ -1301,7 +1303,7 @@ default_dev() {
usr/lib/qt*/mkspecs \
usr/lib/cmake \
$(find . -name include -type d) \
$(find lib/ usr/ -name '*.[acho]' \
$(find $libdirs -name '*.[acho]' \
-o -name '*.prl' 2>/dev/null); do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment