meson: Set implicit_include_directories to false
authorKatsuhiro Ueno <uenobk@gmail.com>
Thu, 29 Apr 2021 02:43:07 +0000 (11:43 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 May 2021 12:49:46 +0000 (14:49 +0200)
Without this, libvixl cannot be compiled with macOS 11.3 SDK due to
include file name conflict (usr/include/c++/v1/version conflicts with
VERSION).

Signed-off-by: Katsuhiro Ueno <uenobk@gmail.com>
Message-Id: <CA+pCdY09+OQfXq3YmRNuQE59ACOq7Py2q4hqOwgq4PnepCXhTA@mail.gmail.com>
Tested-by: Alexander Graf <agraf@csgraf.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build

index 632b380738d3abe8d5190e7ecac33da7eafaf444..20d7035e447b46eb12a2b6bf3f469f97eec8ff84 100644 (file)
@@ -2145,6 +2145,7 @@ common_all = common_ss.apply(config_all, strict: false)
 common_all = static_library('common',
                             build_by_default: false,
                             sources: common_all.sources() + genh,
+                            implicit_include_directories: false,
                             dependencies: common_all.dependencies(),
                             name_suffix: 'fa')