chiark / gitweb /
meson: add a single .h file to shared libs with no sources
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Dec 2017 08:12:08 +0000 (09:12 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:48 +0000 (07:49 +0200)
Otherwise stuff doesn't build on old Ubuntu with meson-0.42.1-1~xenial.

meson.build

index b1029434c5a2badeeb42efd59b5831c6d1248dcb..93b27be19c3b1e3b7d1eebe9d0a635fc621c987c 100644 (file)
@@ -1437,6 +1437,7 @@ subdir('src/login')
 # 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',