From c4b77ca0fe8a27a2f57567e94b81130d257bd54f Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Fri, 9 Apr 2021 11:30:37 -0700 Subject: [PATCH] PHP: Fix windows build (#25938) --- config.w32 | 1 + templates/config.w32.template | 1 + 2 files changed, 2 insertions(+) diff --git a/config.w32 b/config.w32 index 749f6c21d76..0a4df85443c 100644 --- a/config.w32 +++ b/config.w32 @@ -1028,6 +1028,7 @@ if (PHP_GRPC != "no") { "/I"+configure_module_dirname+"\\third_party\\boringssl-with-bazel\\src\\include "+ "/I"+configure_module_dirname+"\\third_party\\re2 "+ "/I"+configure_module_dirname+"\\third_party\\upb "+ + "/I"+configure_module_dirname+"\\third_party\\xxhash "+ "/I"+configure_module_dirname+"\\third_party\\zlib "); base_dir = get_define('BUILD_DIR'); diff --git a/templates/config.w32.template b/templates/config.w32.template index 4b5e04e4531..f4afa1d0690 100644 --- a/templates/config.w32.template +++ b/templates/config.w32.template @@ -37,6 +37,7 @@ "/I"+configure_module_dirname+"\\third_party\\boringssl-with-bazel\\src\\include "+ "/I"+configure_module_dirname+"\\third_party\\re2 "+ "/I"+configure_module_dirname+"\\third_party\\upb "+ + "/I"+configure_module_dirname+"\\third_party\\xxhash "+ "/I"+configure_module_dirname+"\\third_party\\zlib "); <% dirs = sorted(set(src[:src.rfind('/')] for src in srcs))