summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-05-26 13:54:20 +0800
committerXinchen Hui <laruence@gmail.com>2015-05-26 13:55:39 +0800
commit9f1788f00db71cf06f62b02a24973ce2718efeb6 (patch)
tree3394ba683ffbd9433d364b5c4879aeaf0cf05556 /configure.in
parent5f753f9e2e907187b6c8d5b0488c450713ee0871 (diff)
downloadphp-git-9f1788f00db71cf06f62b02a24973ce2718efeb6.tar.gz
Only link fastcgi into fpm and cgi
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index fc196a979a..f24f8eaeda 100644
--- a/configure.in
+++ b/configure.in
@@ -1300,6 +1300,7 @@ PHP_SUBST_OLD(PHP_INSTALLED_SAPIS)
PHP_SUBST(PHP_EXECUTABLE)
+PHP_SUBST(PHP_FASTCGI_OBJS)
PHP_SUBST(PHP_SAPI_OBJS)
PHP_SUBST(PHP_BINARY_OBJS)
PHP_SUBST(PHP_GLOBAL_OBJS)
@@ -1464,7 +1465,9 @@ PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c php_sprintf.c \
php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
strlcat.c mergesort.c reentrancy.c php_variables.c php_ticks.c \
network.c php_open_temporary_file.c \
- output.c getopt.c fastcgi.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
+ output.c getopt.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
+
+PHP_ADD_SOURCES_X(main, fastcgi.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1, PHP_FASTCGI_OBJS, no)
PHP_ADD_SOURCES(main/streams, streams.c cast.c memory.c filter.c \
plain_wrapper.c userspace.c transports.c xp_socket.c mmap.c \