musikcube: use generic libatomic checks
This commit is contained in:
parent
662412f368
commit
09883c6983
1 changed files with 4 additions and 6 deletions
|
@ -15,12 +15,10 @@ homepage="https://musikcube.com/"
|
|||
distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz"
|
||||
checksum=7841db0358d691fed768d10a7cbb2bfaace85c2a744ad59a65ce581ca972a426
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
armv[56]*|ppc|ppc-musl)
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS='-latomic'"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS='-latomic'"
|
||||
fi
|
||||
|
||||
#XXX: Otherwise xbps-install ffmpeg-devel will complain about unresolving shlibs
|
||||
# SDL2-2.0.10_3: broken, unresolvable shlib `libGL.so.1'
|
||||
|
|
Loading…
Reference in a new issue