mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/libuhd: fix
This commit is contained in:
parent
619833908d
commit
22efed2be1
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue