diff options
| author | Edin Kadribasic <edink@php.net> | 2006-12-19 10:26:01 +0000 |
|---|---|---|
| committer | Edin Kadribasic <edink@php.net> | 2006-12-19 10:26:01 +0000 |
| commit | 7e77d79b3c9198a26610448589093241255e7684 (patch) | |
| tree | c1f14ed083c4273e419dbfd104e6265c0a336ba1 /win32/build/mkdist.php | |
| parent | b12e3e14753882137f013aadfedd0f3ae7ae0bee (diff) | |
| download | php-git-7e77d79b3c9198a26610448589093241255e7684.tar.gz | |
Enable full build with newer Microsoft compilers
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"; |
