rubberband: fix libatomic condition

This commit is contained in:
q66 2022-02-28 18:35:58 +01:00
parent 9781003298
commit 0f046b6f6f

View file

@ -14,7 +14,7 @@ changelog="https://breakfastquay.com/news.html"
distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
checksum=b9eac027e797789ae99611c9eaeaf1c3a44cc804f9c8a0441a0d1d26f3d6bdf9
if [ "$CROSS_BUILD" ]; then
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi