libtorrent-rasterbar: use generic libatomic checks
This commit is contained in:
parent
8e8d1ea85f
commit
949f6ebf52
|
@ -15,12 +15,10 @@ homepage="https://libtorrent.org/"
|
|||
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
|
||||
checksum=1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*|mips*|ppc|ppc-musl)
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS+=" -latomic"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS+=" -latomic"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
local _py3_ver=${py3_ver}${py3_abiver}
|
||||
|
|
Loading…
Reference in New Issue