mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
encfs: libatomic is not cross-only
This commit is contained in:
parent
f525e3c000
commit
383ea0cb64
1 changed files with 5 additions and 3 deletions
|
@ -16,11 +16,13 @@ checksum=4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63
|
||||||
# Can't run test programs when cross compiling
|
# Can't run test programs when cross compiling
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args="-DBUILD_UNIT_TESTS=0"
|
configure_args="-DBUILD_UNIT_TESTS=0"
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
|
||||||
armv[56]*|ppc|ppc-musl) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64*) ;;
|
||||||
|
armv[56]*|ppc*) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
chmod +x ${DESTDIR}/usr/bin/encfssh
|
chmod +x ${DESTDIR}/usr/bin/encfssh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue