Skip to content

Commit

Permalink
add --with-compat flag
Browse files Browse the repository at this point in the history
Per discussion in openresty#33 this flag is is needed to be able to easely build
aditional dynamic nginx modules
  • Loading branch information
ruslantalpa committed Nov 15, 2019
1 parent b6b0c78 commit c904d6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions deb/openresty-debug/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ override_dh_auto_configure:
--with-debug \
--with-cc-opt="-I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty-debug/openssl/include -O0" \
--with-ld-opt="-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty-debug/openssl/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty-debug/openssl/lib" \
--with-compat \
--with-pcre-jit \
--without-http_rds_json_module \
--without-http_rds_csv_module \
Expand Down
1 change: 1 addition & 0 deletions deb/openresty/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ override_dh_auto_configure:
./configure \
--with-cc-opt="-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include" \
--with-ld-opt="-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib" \
--with-compat \
--with-pcre-jit \
--without-http_rds_json_module \
--without-http_rds_csv_module \
Expand Down
1 change: 1 addition & 0 deletions rpm/SPECS/openresty-debug.spec
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ a single box.
--with-debug \
--with-cc-opt="-I%{zlib_prefix}/include -I%{pcre_prefix}/include -I%{openssl_prefix}/include -O0" \
--with-ld-opt="-L%{zlib_prefix}/lib -L%{pcre_prefix}/lib -L%{openssl_prefix}/lib -Wl,-rpath,%{zlib_prefix}/lib:%{pcre_prefix}/lib:%{openssl_prefix}/lib" \
--with-compat \
--with-pcre-jit \
--without-http_rds_json_module \
--without-http_rds_csv_module \
Expand Down
1 change: 1 addition & 0 deletions rpm/SPECS/openresty.spec
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ This package provides the client side tool, opm, for OpenResty Pakcage Manager (
--with-cc='ccache gcc -fdiagnostics-color=always' \
--with-cc-opt="-DNGX_LUA_ABORT_AT_PANIC -I%{zlib_prefix}/include -I%{pcre_prefix}/include -I%{openssl_prefix}/include" \
--with-ld-opt="-L%{zlib_prefix}/lib -L%{pcre_prefix}/lib -L%{openssl_prefix}/lib -Wl,-rpath,%{zlib_prefix}/lib:%{pcre_prefix}/lib:%{openssl_prefix}/lib" \
--with-compat \
--with-pcre-jit \
--without-http_rds_json_module \
--without-http_rds_csv_module \
Expand Down

0 comments on commit c904d6c

Please sign in to comment.