Commit f6bcaee8 authored by Leo's avatar Leo Committed by Natanael Copa

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.
parent 297de93a
......@@ -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
Markdown is supported
0% or
Finish editing this message first!
Please register or to comment