Skip to content

Commit 00bd5e2

Browse files
authored
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.
1 parent 47942be commit 00bd5e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

win32/build/mkdist.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ function get_depends($module)
6262
'msvcr90.dll',
6363
'wldap32.dll',
6464
'vcruntime140.dll',
65+
'vcruntime140_1.dll',
6566
'msvcp140.dll',
6667
);
6768
static $no_dist_re = array(
6869
"api-ms-win-crt-.+\.dll",
70+
"api-ms-win-core-.+\.dll",
71+
"clang_rt.asan_dynamic-.+\.dll",
6972
);
7073
global $build_dir, $extra_dll_deps, $ext_targets, $sapi_targets, $pecl_targets, $phpdll, $per_module_deps, $pecl_dll_deps;
7174

0 commit comments

Comments
 (0)