From 89f75a66cfba3f580b08e233df211d52e4f2e681 Mon Sep 17 00:00:00 2001 From: chencheng31 Date: Thu, 21 Apr 2022 11:46:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81mac=20os=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=BC=96=E8=AF=91libxml2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chencheng31 --- build/libxml2/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/libxml2/BUILD.gn b/build/libxml2/BUILD.gn index 90e4139..0e76d16 100644 --- a/build/libxml2/BUILD.gn +++ b/build/libxml2/BUILD.gn @@ -19,8 +19,8 @@ config("restool_libxml2_config") { include_dirs += [ "//developtools/global_resource_tool/build/libxml2/win32/include" ] defines = [ "LIBXML_STATIC" ] - } else { - include_dirs += [ "${LIBXML_PATH}/config" ] + } else if (is_mac) { + defines = [ "LIBXML_THREAD_ENABLED" ] } include_dirs += [ "${LIBXML_PATH}/include" ]