From cd6c2ee612929b880d6db4993c4066b6f072913b Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 4 Oct 2019 18:56:36 +0200 Subject: [PATCH] common: create another lib tailored for the client Use a small subset of the existing common files to create another static library to be used from the client library. --- common/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/common/meson.build b/common/meson.build index 93c9fde..9411900 100644 --- a/common/meson.build +++ b/common/meson.build @@ -19,3 +19,18 @@ link_daemon_common = declare_dependency( link_with: daemon_common, include_directories: [include_directories('.')] ) + +lib_common = static_library( + 'lib-common', + sources: [ + 'common-helpers.c', + 'common-pidfds.c' + ], + install: false, + include_directories: [config_h_dir] +) + +link_lib_common = declare_dependency( + link_with: lib_common, + include_directories: [include_directories('.')] +)