From 7f1ea2cc94ac7b4d85474b413c025df14668687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 20 Dec 2017 09:12:08 +0100 Subject: [PATCH] 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. --- meson.build | 1 + src/udev/meson.build | 1 + 2 files changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 516cc69adc..1a842a8d91 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 2c0e3a65df..de2fd2d9c4 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',