meson: link libsystemd_static in libshared instead of recompiling
This is similar to the great-grandpa commit. This time the number of meson targets compilation without man is reduced from 1347 to 1302.
This commit is contained in:
parent
34e221a58b
commit
a8e559d4c6
|
@ -100,7 +100,8 @@ libsystemd_static = static_library(
|
|||
include_directories : includes,
|
||||
link_with : libbasic,
|
||||
dependencies : [threads,
|
||||
librt])
|
||||
librt],
|
||||
c_args : ['-fvisibility=default'])
|
||||
|
||||
libsystemd_sym = 'src/libsystemd/libsystemd.sym'
|
||||
|
||||
|
|
|
@ -167,14 +167,14 @@ libshared_static = static_library(
|
|||
libshared = shared_library(
|
||||
libshared_name,
|
||||
journal_internal_sources,
|
||||
libsystemd_sources,
|
||||
libudev_sources,
|
||||
include_directories : includes,
|
||||
link_args : ['-shared',
|
||||
'-Wl,--version-script=' + libshared_sym_path],
|
||||
link_whole : [libshared_static,
|
||||
libbasic,
|
||||
libbasic_gcrypt],
|
||||
libbasic_gcrypt,
|
||||
libsystemd_static],
|
||||
c_args : ['-fvisibility=default'],
|
||||
dependencies : libshared_deps,
|
||||
install : true,
|
||||
|
|
Loading…
Reference in New Issue