[sysprof] build: always define needs_service_access
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] build: always define needs_service_access
- Date: Fri, 22 Jul 2022 19:04:55 +0000 (UTC)
commit fa7580f60f85fc92dee051907a51db9e9a76fb56
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 22 12:04:51 2022 -0700
build: always define needs_service_access
meson.build | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index b397750d..ac279048 100644
--- a/meson.build
+++ b/meson.build
@@ -197,10 +197,7 @@ int main(void) {
config_h.set10('HAVE_STDATOMIC_H', true)
endif
-if get_option('libsysprof') or get_option('agent')
- needs_service_access = true
-endif
-
+needs_service_access = get_option('libsysprof') or get_option('agent')
if needs_service_access or get_option('sysprofd') == 'bundled'
install_service_files = true
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]