cvs: php-src /win32/build mkdist.php

From: Date: Tue, 05 Aug 2008 11:46:55 +0000
Subject: cvs: php-src /win32/build mkdist.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51984@lists.php.net to get a copy of this message
pajoye Tue Aug 5 11:46:55 2008 UTC Modified files: /php-src/win32/build mkdist.php Log: - add dll path to mkdist default path http://cvs.php.net/viewvc.cgi/php-src/win32/build/mkdist.php?r1=1.15&r2=1.16&diff_format=u Index: php-src/win32/build/mkdist.php diff -u php-src/win32/build/mkdist.php:1.15 php-src/win32/build/mkdist.php:1.16 --- php-src/win32/build/mkdist.php:1.15 Fri Apr 11 21:57:19 2008 +++ php-src/win32/build/mkdist.php Tue Aug 5 11:46:55 2008 @@ -1,4 +1,4 @@ -<?php # $Id: mkdist.php,v 1.15 2008/04/11 21:57:19 bjori Exp $ +<?php # $Id: mkdist.php,v 1.16 2008/08/05 11:46:55 pajoye Exp $ /* piece together a windows binary distro */ $build_dir = $argv[1]; @@ -30,7 +30,7 @@ { static $no_dist = array( /* windows system dlls that should not be bundled */ - 'advapi32.dll', 'comdlg32.dll', 'gdi32.dll', 'kernel32.dll', 'ntdll.dll', + 'advapi32.dll', 'comdlg32.dll', 'crypt32.dll', 'gdi32.dll', 'kernel32.dll', 'ntdll.dll', 'odbc32.dll', 'ole32.dll', 'oleaut32.dll', 'rpcrt4.dll', 'shell32.dll', 'shlwapi.dll', 'user32.dll', 'ws2_32.dll', 'ws2help.dll', 'comctl32.dll', 'winmm.dll', 'wsock32.dll', 'winspool.drv', 'msasn1.dll', @@ -40,7 +40,7 @@ 'apachecore.dll', /* apache 2 */ - 'libhttpd.dll', 'libapr.dll', 'libaprutil.dll', + 'libhttpd.dll', 'libapr.dll', 'libaprutil.dll','libapr-1.dll', 'libaprutil-1.dll', /* pi3web */ 'piapi.dll', 'pi3api.dll', @@ -284,8 +284,11 @@ /* try template dir */ $tdll = $snapshot_template . "/dlls/" . basename($dll); if (!file_exists($tdll)) { - echo "WARNING: distro depends on $dll, but could not find it on your system\n"; - continue; + $tdll = '../deps/bin/' . basename($dll); + if (!file_exists($tdll)) { + echo "WARNING: distro depends on $dll, but could not find it on your system\n"; + continue; + } } $dll = $tdll; }

« previous php.cvs (#51984) next »