aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswarupn <swarupnpvt@gmail.com>2018-11-06 19:18:37 +0530
committerswarupn <swarupnpvt@gmail.com>2018-11-06 19:19:37 +0530
commit07b448c987619766da5c12235f3f693f3cd60209 (patch)
tree3665d13ad0d851ee46e6a0175c6e895f876cfbc5
parent225db1966cfdc3ca0a9e4e913ec66f6e52cf2d47 (diff)
Fix: Add stream support, Also fix nginx version
Change-Id: I35aadb6e47b15945bf8337bf737c1813c2bd34f3 Signed-off-by: swarupn <swarupnpvt@gmail.com>
-rw-r--r--thirdparty/apps/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/apps/CMakeLists.txt b/thirdparty/apps/CMakeLists.txt
index 8df3cb8..0fffccd 100644
--- a/thirdparty/apps/CMakeLists.txt
+++ b/thirdparty/apps/CMakeLists.txt
@@ -34,8 +34,8 @@ ExternalProject_Add(
DOWNLOAD_COMMAND ${NGINX_DOWNLOAD_CMD}
BUILD_IN_SOURCE 1
SOURCE_DIR ${NGINX_SRC}
- PATCH_COMMAND echo "./configure --with-ld-opt=\"-L${LIB_PATH_SHARED}/ -lnStackAPI -Wl,-rpath=${LIB_PATH_SHARED}\" --sbin-path=${NGINX_RELEASE}/nginx --conf-path=${NGINX_RELEASE}/nginx.conf --pid-path=${NGINX_RELEASE}/nginx.pid " > configure.sh
- COMMAND sed -i -e "47 s/$/\"/" ${CMAKE_CURRENT_LIST_DIR}/nginx/nginx-1.14.0/auto/os/linux
+ PATCH_COMMAND echo "./configure --with-stream --with-ld-opt=\"-L${LIB_PATH_SHARED}/ -lnStackAPI -Wl,-rpath=${LIB_PATH_SHARED}\" --sbin-path=${NGINX_RELEASE}/nginx --conf-path=${NGINX_RELEASE}/nginx.conf --pid-path=${NGINX_RELEASE}/nginx.pid " > configure.sh
+ COMMAND sed -i -e "47 s/$/\"/" ${CMAKE_CURRENT_LIST_DIR}/nginx/nginx-1.12.2/auto/os/linux
COMMAND sed -i -e "48,49 s/^/#/" ${CMAKE_CURRENT_LIST_DIR}/nginx/nginx-1.12.2/auto/os/linux
CONFIGURE_COMMAND sh configure.sh
BUILD_COMMAND make