xref: /php-src/sapi/cgi/config.w32 (revision 8d3f8ca1)
1// vim:ft=javascript
2
3ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes');
4
5if (PHP_CGI == "yes") {
6	ADD_FLAG("LDFLAGS_CGI", "/stack:67108864");
7	SAPI('cgi', 'cgi_main.c', 'php-cgi.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
8	ADD_SOURCES('main', 'fastcgi.c', 'cgi');
9	ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib');
10}
11