From f6bcaee8951aef8de5eff619a93bdbd23720ec42 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 1 May 2019 05:03:09 -0300 Subject: [PATCH] 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. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 61f1265..8b9e810 100644 --- a/abuild.in +++ b/abuild.in @@ -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