diff options
author | Dylan K. Taylor <odigiman@gmail.com> | 2017-08-31 15:05:13 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-08-31 19:46:47 +0200 |
commit | 4e9c3e9396de9dab4faac9e24bc019958b383d66 (patch) | |
tree | 7b9a5d4e26bb3e14e66f69e939db7c1d9cb0fe7d | |
parent | 3239f6d6798d86fdbf8e03aa741d9990bcfffe79 (diff) | |
download | php-git-4e9c3e9396de9dab4faac9e24bc019958b383d66.tar.gz |
Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds
-rw-r--r-- | win32/build/mkdist.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index ca99b0dba9..7fac172145 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); |