瀏覽代碼

meson: Set implicit_include_directories to false

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>
Katsuhiro Ueno 4 年之前
父節點
當前提交
75eebe0b1f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      meson.build

+ 1 - 0
meson.build

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