Merge pull request #8689 from davide125/static

meson: add support for building static libsystemd and libudev
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-05-10 00:39:36 +02:00
committed by GitHub
6 changed files with 94 additions and 17 deletions
+4 -2
View File
@@ -82,15 +82,17 @@ libsystemd_sources = files('''
sd-utf8/sd-utf8.c
'''.split()) + id128_sources + sd_daemon_c + sd_event_c + sd_login_c
libsystemd_c_args = ['-fvisibility=default']
libsystemd_static = static_library(
'systemd',
'systemd_static',
libsystemd_sources,
install : false,
include_directories : includes,
link_with : libbasic,
dependencies : [threads,
librt],
c_args : ['-fvisibility=default'])
c_args : libsystemd_c_args)
libsystemd_sym = 'src/libsystemd/libsystemd.sym'