summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-20 09:12:08 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-03 12:09:46 +0100
commit7f1ea2cc94ac7b4d85474b413c025df14668687d (patch)
tree3063b53610881e80fb29f0f6313c628aada54ac1 /meson.build
parentmeson: use a convenience lib for shared resolve files (diff)
downloadsystemd-7f1ea2cc94ac7b4d85474b413c025df14668687d.tar.xz
systemd-7f1ea2cc94ac7b4d85474b413c025df14668687d.zip
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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
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',