summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-09-12 18:41:34 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-09-15 14:44:11 +0200
commit132c73b57ad1d363e97e1f4720f0e920826f34e1 (patch)
tree94845bcbcd1a3822290d120fb4c12d8772b6f945 /src/network
parentbash-completion: add missing options to systemd-cryptenroll (diff)
downloadsystemd-132c73b57ad1d363e97e1f4720f0e920826f34e1.tar.xz
systemd-132c73b57ad1d363e97e1f4720f0e920826f34e1.zip
meson: add libatomic dependency
Building with GCC 12.2 and binutils 2.39 fails on riscv64 Ubuntu Kinetic with: FAILED: systemd-oomd /usr/bin/ld: systemd-oomd.p/src_oom_oomd-util.c.o: in function `oomd_cgroup_context_acquire': build/../src/oom/oomd-util.c:415: undefined reference to `__atomic_exchange_1' We have to link with -latomic. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/meson.build b/src/network/meson.build
index e4def6bc51..b09c18dbbd 100644
--- a/src/network/meson.build
+++ b/src/network/meson.build
@@ -290,13 +290,13 @@ tests += [
[files('test-networkd-address.c'),
[libnetworkd_core,
libsystemd_network],
- [],
+ [libatomic],
network_includes],
[files('test-networkd-conf.c'),
[libnetworkd_core,
libsystemd_network],
- [],
+ [libatomic],
network_includes],
[files('test-networkd-util.c'),