From: Zbigniew Jędrzejewski-Szmek Date: Wed, 20 Dec 2017 08:12:08 +0000 (+0100) Subject: meson: add a single .h file to shared libs with no sources X-Git-Tag: v237~158^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7705%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/meson.build b/meson.build index 516cc69adc4..1a842a8d914 100644 --- a/meson.build +++ b/meson.build @@ -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', diff --git a/src/udev/meson.build b/src/udev/meson.build index 2c0e3a65df8..de2fd2d9c4e 100644 --- a/src/udev/meson.build +++ b/src/udev/meson.build @@ -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',