From: Yu Watanabe Date: Fri, 5 Oct 2018 05:29:05 +0000 (+0900) Subject: meson: also run compile tests for not installed systemd headers X-Git-Tag: v240~615^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6263ee4d5fa01e306e517da65344bff0b892767;p=thirdparty%2Fsystemd.git meson: also run compile tests for not installed systemd headers Follow-up for b62f9008668a5330c61b4de7e0d48147bcd1edf7 (#10277). --- diff --git a/src/systemd/meson.build b/src/systemd/meson.build index 849502921d6..470328cc5df 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -17,20 +17,25 @@ _systemd_headers = ''' # https://github.com/mesonbuild/meson/issues/1633 systemd_headers = files(_systemd_headers) -# sd-dhcp6-client.h -# sd-dhcp6-lease.h -# sd-dhcp-client.h -# sd-dhcp-lease.h -# sd-dhcp-server.h -# sd-ipv4acd.h -# sd-ipv4ll.h -# sd-lldp.h -# sd-ndisc.h -# sd-netlink.h -# sd-network.h -# sd-path.h +_not_installed_headers = ''' + sd-dhcp6-client.h + sd-dhcp6-lease.h + sd-dhcp-client.h + sd-dhcp-lease.h + sd-dhcp-server.h + sd-ipv4acd.h + sd-ipv4ll.h + sd-lldp.h + sd-ndisc.h + sd-netlink.h + sd-network.h + sd-path.h + sd-radv.h + sd-utf8.h +'''.split() + +# The following headers do not pass tests. # sd-resolve.h -# sd-utf8.h install_headers( systemd_headers, @@ -62,7 +67,7 @@ if cxx.found() endif endif -foreach header : _systemd_headers +foreach header : _systemd_headers + _not_installed_headers foreach opt : opts name = ''.join([header, ':'] + opt) if want_tests != 'false'