kiwix-lib: fix armv6l build

This commit is contained in:
John 2019-08-20 16:41:46 +02:00
parent 8d15eb2cad
commit ee3f22229d

View file

@ -14,6 +14,13 @@ changelog="https://github.com/kiwix/kiwix-lib/blob/${version}/ChangeLog"
distfiles="https://github.com/kiwix/kiwix-lib/archive/${version}.tar.gz"
checksum=00fcc067ae7abeb8043b0270f234d40f2ad1b1085da5df143e2ba23443a8a16c
case "$XBPS_TARGET_MACHINE" in
armv6l*)
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
;;
esac
kiwix-lib-devel_package() {
short_desc+=" - development packages"
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel