From 0ebccfc37558fbf80c150d24b65eabee296037cb Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 27 Nov 2024 17:19:21 +0100 Subject: [PATCH] Exclude further dependencies from dist These are Windows/Visual Studio DLLs which are not supposed to be distributed, and would usually not even be found in the configured paths. --- win32/build/mkdist.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index 53a8bb0311db..11f169079069 100644 --- a/win32/build/mkdist.php +++ b/win32/build/mkdist.php @@ -62,10 +62,13 @@ function get_depends($module) 'msvcr90.dll', 'wldap32.dll', 'vcruntime140.dll', + 'vcruntime140_1.dll', 'msvcp140.dll', ); static $no_dist_re = array( "api-ms-win-crt-.+\.dll", + "api-ms-win-core-.+\.dll", + "clang_rt.asan_dynamic-.+\.dll", ); global $build_dir, $extra_dll_deps, $ext_targets, $sapi_targets, $pecl_targets, $phpdll, $per_module_deps, $pecl_dll_deps;