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:-}
97
97
ld_opt=${ld_opt:- }
98
98
luajit_xcflags=${luajit_xcflags:= " -DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT" }
99
99
no_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"
100
103
101
104
cd openresty-${or_ver} || exit 1
102
105
./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 " \
104
107
--with-ld-opt=" -Wl,-rpath,$OR_PREFIX /wasmtime-c-api/lib $ld_opt " \
105
108
$debug_args \
106
109
--add-module=../mod_dubbo-${mod_dubbo_ver} \
You can’t perform that action at this time.
0 commit comments