diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-01 05:03:09 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-07-08 11:28:38 +0000 |
commit | f6bcaee8951aef8de5eff619a93bdbd23720ec42 (patch) | |
tree | 31c8779f59fe28008d5e067db7aeb713cb0746b2 | |
parent | 297de93aef3110f6ced8926e64e4204692b3b74e (diff) | |
download | abuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.tar.gz abuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.tar.bz2 abuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.tar.xz abuild-f6bcaee8951aef8de5eff619a93bdbd23720ec42.zip |
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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |