File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,13 @@ cc_opt=${cc_opt:-}
9797ld_opt=${ld_opt:- }
9898luajit_xcflags=${luajit_xcflags:= " -DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT" }
9999no_pool_patch=${no_pool_patch:- }
100+ # TODO: remove old NGX_HTTP_GRPC_CLI_ENGINE_PATH once we have released a new
101+ # version of grpc-client-nginx-module
102+ grpc_engine_path=" -DNGX_GRPC_CLI_ENGINE_PATH=$OR_PREFIX /libgrpc_engine.so -DNGX_HTTP_GRPC_CLI_ENGINE_PATH=$OR_PREFIX /libgrpc_engine.so"
100103
101104cd openresty-${or_ver} || exit 1
102105./configure --prefix=" $OR_PREFIX " \
103- --with-cc-opt=" -DAPISIX_BASE_VER=$version -DNGX_HTTP_GRPC_CLI_ENGINE_PATH= $OR_PREFIX /libgrpc_engine.so $cc_opt " \
106+ --with-cc-opt=" -DAPISIX_BASE_VER=$version $grpc_engine_path $cc_opt " \
104107 --with-ld-opt=" -Wl,-rpath,$OR_PREFIX /wasmtime-c-api/lib $ld_opt " \
105108 $debug_args \
106109 --add-module=../mod_dubbo-${mod_dubbo_ver} \
You can’t perform that action at this time.
0 commit comments