diff options
Diffstat (limited to 'win32/build/mkdist.php')
| -rw-r--r-- | win32/build/mkdist.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index 51c304909d..546af8b0f2 100644 --- a/win32/build/mkdist.php +++ b/win32/build/mkdist.php @@ -401,6 +401,17 @@ if (file_exists($snapshot_template)) { } } } + + /* copy c++ runtime */ + $items = glob("$snapshot_template/dlls/*.CRT"); + + foreach ($items as $item) { + $bi = basename($item); + if (is_dir($item)) { + copy_dir($item, "$dist_dir/$bi"); + copy_dir($item, "$dist_dir/ext/$bi"); + } + } } else { echo "WARNING: you don't have a snapshot template\n"; echo " your dist will not be complete\n"; |
