mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
vtk: link against libatomic where needed
This commit is contained in:
parent
497d0c5bdb
commit
94ee1edd1d
1 changed files with 11 additions and 0 deletions
|
@ -26,6 +26,17 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
LDFLAGS="-lexecinfo"
|
LDFLAGS="-lexecinfo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
[ "$XBPS_TARGET_NO_ATOMIC8" ] || return 0
|
||||||
|
|
||||||
|
echo "vtk_module_link(VTK::CommonDataModel PRIVATE atomic)" >> \
|
||||||
|
Common/DataModel/CMakeLists.txt
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense Copyright.txt
|
vlicense Copyright.txt
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue