[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] explicitly link libqemuutil against rt
From: |
Simeon Schaub |
Subject: |
[PATCH] explicitly link libqemuutil against rt |
Date: |
Sun, 27 Feb 2022 23:16:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
>From e77de12cc33846a3de71d1858e497fbf4cdbff96 Mon Sep 17 00:00:00 2001
From: Simeon David Schaub <schaub@mit.edu>
Date: Sun, 27 Feb 2022 22:59:19 -0500
Subject: [PATCH] explicitly link libqemuutil against rt
Qemu uses `clock_gettime` which is already part of more recent versions
of glibc, but on older versions it is still required to link against
librt.
Discovered in https://github.com/JuliaPackaging/Yggdrasil/pull/4506
Signed-off-by: Simeon David Schaub <schaub@mit.edu>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 8df40bfac4..dcf2f43940 100644
--- a/meson.build
+++ b/meson.build
@@ -2730,7 +2730,7 @@ util_ss.add_all(trace_ss)
util_ss = util_ss.apply(config_all, strict: false)
libqemuutil = static_library('qemuutil',
sources: util_ss.sources() + stub_ss.sources() +
genh,
- dependencies: [util_ss.dependencies(), libm,
threads, glib, socket, malloc, pixman])
+ dependencies: [util_ss.dependencies(), libm,
threads, glib, socket, malloc, pixman, rt])
qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
--
2.35.1
- [PATCH] explicitly link libqemuutil against rt,
Simeon Schaub <=