com php-src: Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds: win32/build/mkdist.php
| From: | Anatol Belski | Date: | Thu, 31 Aug 2017 17:46:47 +0000 |
| Subject: | com php-src: Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds: win32/build/mkdist.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99213@lists.php.net to get a copy of this message | ||
Commit: 4e9c3e9396de9dab4faac9e24bc019958b383d66
Author: Dylan K. Taylor <odigiman@gmail.com> Thu, 31 Aug 2017 15:05:13 +0100
Committer: Anatol Belski <ab@php.net> Thu, 31 Aug 2017 19:46:47 +0200
Parents: 3239f6d6798d86fdbf8e03aa741d9990bcfffe79
Branches: PHP-7.0 PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4e9c3e9396de9dab4faac9e24bc019958b383d66
Log:
Copy dependencies of the core DLL in
nmake snap for statically-compiled extensions when
packaging builds
Changed paths:
M win32/build/mkdist.php
Diff:
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php
index ca99b0d..7fac172 100644
--- a/win32/build/mkdist.php
+++ b/win32/build/mkdist.php
@@ -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);