Exclude further dependencies from dist (GH-16965)

These are Windows/Visual Studio DLLs which are not supposed to be
distributed, and would usually not even be found in the configured
paths.
This commit is contained in:
Christoph M. Becker 2024-12-04 17:44:59 +01:00 committed by GitHub
parent 47942be18d
commit 00bd5e21f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;