nix/build-utils-meson/libatomic/meson.build
2024-11-07 11:40:02 +01:00

9 lines
258 B
Meson

# Check if -latomic is needed
# This is needed for std::atomic on some platforms
# We did not manage to test this reliably on all platforms, so we hardcode
# it for now.
if host_machine.cpu_family() == 'arm'
deps_other += cxx.find_library('atomic')
endif