summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-01 05:03:09 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-08 11:28:38 +0000
commitf6bcaee8951aef8de5eff619a93bdbd23720ec42 (patch)
tree31c8779f59fe28008d5e067db7aeb713cb0746b2
parent297de93aef3110f6ced8926e64e4204692b3b74e (diff)
downloadabuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.tar.bz2
abuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.tar.xz
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.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
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