Skip to content

Commit 6d582c6

Browse files
committed
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.
1 parent fd256be commit 6d582c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cgi/config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes');
66
if (PHP_CGI == "yes") {
77
ADD_FLAG("LDFLAGS_CGI", "/stack:67108864");
88
SAPI('cgi', 'cgi_main.c', 'php-cgi.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
9+
ADD_SOURCES('main', 'fastcgi.c', 'cgi');
910
ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib');
1011
}

0 commit comments

Comments
 (0)