]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: add a single .h file to shared libs with no sources 7705/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Dec 2017 08:12:08 +0000 (09:12 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 Jan 2018 11:09:46 +0000 (12:09 +0100)
Otherwise stuff doesn't build on old Ubuntu with meson-0.42.1-1~xenial.

meson.build
src/udev/meson.build

index 516cc69adc4e3779122ed1eb8f49dd81e1a96483..1a842a8d91442708452297c5770d65e487fc27b6 100644 (file)
@@ -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',
index 2c0e3a65df86f816a189236da003c3608ed5d8c3..de2fd2d9c4ece2fbdc4258861318dc1943cdc788 100644 (file)
@@ -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',