community/libuhd: fix

This commit is contained in:
Kevin Mihelich 2020-12-31 17:06:46 +00:00
parent 619833908d
commit 22efed2be1

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - set -DNEON_SIMD_ENABLE=OFF
# - explicitly link v5/v6 with libatomic
pkgname=libuhd
pkgver=4.0.0.0
@ -28,6 +29,7 @@ prepare() {
build() {
cd "$srcdir/uhd-$pkgver/host/build"
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(uhd atomic)" >> "$srcdir/uhd-$pkgver/host/lib/CMakeLists.txt"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DENABLE_PYTHON_API=ON \