]> granicus.if.org Git - php/commitdiff
added the shared fcgi imp to sapi/cgi
authorAnatol Belski <ab@php.net>
Tue, 26 May 2015 07:44:41 +0000 (09:44 +0200)
committerAnatol Belski <ab@php.net>
Tue, 26 May 2015 07:44:41 +0000 (09:44 +0200)
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.

sapi/cgi/config.w32

index 94a027f4ee7dd778d6812f78c62f430576394958..4e803fb1c416b751607b0062fc4679d8dab3ef5f 100644 (file)
@@ -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');
 }