meson: add a single .h file to shared libs with no sources
Otherwise stuff doesn't build on old Ubuntu with meson-0.42.1-1~xenial.
This commit is contained in:
parent
568a4ff8b1
commit
7f1ea2cc94
|
@ -1254,6 +1254,7 @@ libjournal_core = static_library(
|
|||
libsystemd_sym_path = '@0@/@1@'.format(meson.current_source_dir(), libsystemd_sym)
|
||||
libsystemd = shared_library(
|
||||
'systemd',
|
||||
'src/systemd/sd-id128.h', # pick a header file at random to work around old meson bug
|
||||
version : libsystemd_version,
|
||||
include_directories : includes,
|
||||
link_args : ['-shared',
|
||||
|
|
|
@ -132,6 +132,7 @@ libudev_static = static_library(
|
|||
|
||||
libudev = shared_library(
|
||||
'udev',
|
||||
'udev.h', # pick a header file at random to work around old meson bug
|
||||
version : libudev_version,
|
||||
include_directories : includes,
|
||||
link_args : ['-shared',
|
||||
|
|
Loading…
Reference in New Issue