1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Copy dependencies of the core DLL in nmake snap for statically-compiled extensions when packaging builds

This commit is contained in:
Dylan K. Taylor
2017-08-31 15:05:13 +01:00
committed by Anatol Belski
parent 3239f6d679
commit 4e9c3e9396

View File

@@ -209,7 +209,8 @@ function extract_file_from_tarball($pkg, $filename, $dest_dir) /* {{{ */
/* the core dll */
copy("$build_dir/php.exe", "$dist_dir/php.exe");
copy("$build_dir/$phpdll", "$dist_dir/$phpdll");
/* copy dll and its dependencies */
copy_file_list($build_dir, "$dist_dir", [$phpdll]);
/* and the .lib goes into dev */
$phplib = str_replace(".dll", ".lib", $phpdll);