solvespace: fix build on targets without 64-bit atomics

This commit is contained in:
q66 2021-12-27 15:04:13 +01:00
parent d3002df9e0
commit 425a62b5c9
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ checksum="04cda618fbbbe2db92713adf2fff4264017f858bac6f737c9da11efab693be4f
448ac898c72468c4f632a0818cc4b8ec83a4669402ee059d74df35f94f3e2f34"
nocross="https://travis-ci.org/bobertlo/void-packages/jobs/487251265"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
configure_args=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic'"
fi
post_extract() {
rmdir "${wrksrc}/extlib/libdxfrw"
mv "${XBPS_BUILDDIR}/libdxfrw-${_libdxfrw_hash}" "${wrksrc}/extlib/libdxfrw"