com php-src: added the shared fcgi imp to sapi/cgi: sapi/cgi/config.w32

From: Date: Tue, 26 May 2015 07:44:41 +0000
Subject: com php-src: added the shared fcgi imp to sapi/cgi: sapi/cgi/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86943@lists.php.net to get a copy of this message
Commit: 6d582c6a248616d92a746fe3a173f984f7c21045 Author: Anatol Belski <ab@php.net> Tue, 26 May 2015 09:44:41 +0200 Parents: fd256be671e89caaa06a910782a80018ebe57826 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6d582c6a248616d92a746fe3a173f984f7c21045 Log: added the shared fcgi imp to sapi/cgi This is yet a workaround, if another part of the source would need the same object file, it'll end up producing duplicated nmake target. Some additional implementation is needed so same object files can be shared between different modules, to handle this situation better. Changed paths: M sapi/cgi/config.w32 Diff: diff --git a/sapi/cgi/config.w32 b/sapi/cgi/config.w32 index 94a027f..4e803fb 100644 --- a/sapi/cgi/config.w32 +++ b/sapi/cgi/config.w32 @@ -6,5 +6,6 @@ ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes'); if (PHP_CGI == "yes") { ADD_FLAG("LDFLAGS_CGI", "/stack:67108864"); SAPI('cgi', 'cgi_main.c', 'php-cgi.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'); + ADD_SOURCES('main', 'fastcgi.c', 'cgi'); ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib'); }

« previous php.cvs (#86943) next »