Fix condition check for adding static libraries to -dev package.

This was the wrong way, we only want to add the static library to the
-dev package when there isn't a -static package.
This commit is contained in:
Leo 2019-05-01 05:03:09 -03:00 committed by Natanael Copa
parent 297de93aef
commit f6bcaee895

View File

@ -1719,7 +1719,7 @@ default_dev() {
usr/lib/qt*/mkspecs \
usr/lib/cmake \
$(find . -name include -type d) \
$([ -z "${subpackages##*$pkgname-static*}" ] && find $libdirs \
$(subpackage_types_has static || find $libdirs \
-name '*.a' 2>/dev/null) \
$(find $libdirs -name '*.[cho]' \
-o -name '*.prl' 2>/dev/null); do