# SPDX-License-Identifier: LGPL-2.1+
#
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
-#
-# elogind is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# elogind is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
id128_sources = files('''
sd-id128/id128-util.c
# sd-utf8/sd-utf8.c
# '''.split()) + id128_sources + sd_daemon_c + sd_event_c + sd_login_c
#else
-libelogind_internal_sources = files('''
- sd-bus/bus-bloom.c
- sd-bus/bus-bloom.h
+libelogind_sources = files('''
sd-bus/bus-common-errors.c
sd-bus/bus-common-errors.h
sd-bus/bus-container.c
#endif // 0
libelogind_static = static_library(
- 'elogind',
libelogind_sources,
+libelogind_c_args = ['-fvisibility=default']
+
+ 'elogind_static',
install : false,
include_directories : includes,
link_with : libbasic,
#if 0 /// elogind does not need librt
# dependencies : [threads,
# librt],
-# c_args : ['-fvisibility=default'])
+# c_args : libsystemd_c_args)
#
# libsystemd_sym = 'src/libsystemd/libsystemd.sym'
#
# output : 'libsystemd.pc',
# install_data(libsystemd_pc,
#else
- dependencies : [threads])
+ dependencies : [threads],
#endif // 0
configuration : substs)
install_dir : pkgconfiglibdir)