From 7e77d79b3c9198a26610448589093241255e7684 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Tue, 19 Dec 2006 10:26:01 +0000 Subject: Enable full build with newer Microsoft compilers --- win32/build/mkdist.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'win32/build/mkdist.php') 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"; -- cgit v1.2.1