kiwix-tools: fix build for XBPS_TARGET_NO_ATOMIC8 and armv7l
This commit is contained in:
parent
a63e8fc6a1
commit
df8bbc6b0a
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ changelog="https://github.com/kiwix/kiwix-tools/blob/${version}/Changelog"
|
||||||
distfiles="https://github.com/kiwix/kiwix-tools/archive/${version}.tar.gz"
|
distfiles="https://github.com/kiwix/kiwix-tools/archive/${version}.tar.gz"
|
||||||
checksum=86325ec31976d40357f08c520806cf223fa1b0a5edb02ad106c2a0d6746ca364
|
checksum=86325ec31976d40357f08c520806cf223fa1b0a5edb02ad106c2a0d6746ca364
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ] || [ "${XBPS_TARGET_MACHINE/-musl/}" = "armv7l" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" kiwix-lib-devel"
|
hostmakedepends+=" kiwix-lib-devel"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue