1 # SPDX-License-Identifier: LGPL-2.1+
3 # Copyright 2017 Zbigniew Jędrzejewski-Szmek
81 spawn-ask-password-agent.c
82 spawn-ask-password-agent.h
109 test_tables_h = files('test-tables.h')
110 shared_sources += [test_tables_h]
112 if conf.get('HAVE_ACL') == 1
113 shared_sources += ['acl-util.c']
116 if conf.get('ENABLE_UTMP') == 1
117 shared_sources += ['utmp-wtmp.c']
120 if conf.get('HAVE_SECCOMP') == 1
121 shared_sources += ['seccomp-util.c']
124 if conf.get('HAVE_LIBIPTC') == 1
125 shared_sources += ['firewall-util.c']
128 libshared_name = 'systemd-shared-@0@'.format(meson.project_version())
130 libshared_deps = [threads,
144 libshared_sym_path = '@0@/libshared.sym'.format(meson.current_source_dir())
146 libshared_static = static_library(
149 include_directories : includes,
150 dependencies : libshared_deps,
151 c_args : ['-fvisibility=default'])
153 libshared = shared_library(
156 include_directories : includes,
157 link_args : ['-shared',
158 '-Wl,--version-script=' + libshared_sym_path],
159 link_whole : [libshared_static,
164 c_args : ['-fvisibility=default'],
165 dependencies : libshared_deps,
167 install_dir : rootlibexecdir)