Skip to content

Commit 4e9c3e9

Browse files
dktappsweltling
authored andcommitted
Copy dependencies of the core DLL in nmake snap for statically-compiled extensions when packaging builds
1 parent 3239f6d commit 4e9c3e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

win32/build/mkdist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */
209209

210210
/* the core dll */
211211
copy("$build_dir/php.exe", "$dist_dir/php.exe");
212-
copy("$build_dir/$phpdll", "$dist_dir/$phpdll");
212+
/* copy dll and its dependencies */
213+
copy_file_list($build_dir, "$dist_dir", [$phpdll]);
213214

214215
/* and the .lib goes into dev */
215216
$phplib = str_replace(".dll", ".lib", $phpdll);

0 commit comments

Comments
 (0)