Skip to content

Commit

Permalink
Copy dependencies of the core DLL in nmake snap for statically-comp…
Browse files Browse the repository at this point in the history
…iled extensions when packaging builds
  • Loading branch information
dktapps authored and weltling committed Aug 31, 2017
1 parent 3239f6d commit 4e9c3e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion win32/build/mkdist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4e9c3e9

Please sign in to comment.