From 73df93d07167830147bcb9c3135a53716f79b966 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 3 Oct 2018 19:44:33 +0000 Subject: [PATCH] community/audacity: fix --- community/audacity/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/community/audacity/PKGBUILD b/community/audacity/PKGBUILD index 8043b25c1..9c680f849 100644 --- a/community/audacity/PKGBUILD +++ b/community/audacity/PKGBUILD @@ -3,6 +3,7 @@ # ALARM: Kevin Mihelich # - configure with --disable-sse +# - explicitly link v5/v6 with libatomic pkgname=audacity pkgver=2.3.0 @@ -30,7 +31,8 @@ prepare() { build() { cd "${pkgname}-${pkgver}" - WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \ + [[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic" + WX_CONFIG=wx-config-gtk3 LIBS=$LIBS ./configure --prefix="/usr" \ --with-libsndfile="system" \ --with-ffmpeg="system" \ --with-expat="system" \