Skip to content

Commit de90fea

Browse files
committed
f
Signed-off-by: Nic <[email protected]>
1 parent 940763e commit de90fea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-api7ee-runtime.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ fi
210210
$no_pool_patch \
211211
-j`nproc`
212212

213+
# ref: https://github.com/api7/grpc-client-nginx-module/pull/34
214+
# After loading Go code from .so, the signalfd doesn't work anymore
215+
sed -i "s/#ifndef NGX_HTTP_LUA_HAVE_SIGNALFD/#ifdef NGX_HTTP_LUA_HAVE_SIGNALFD/" $(find -name 'ngx_auto_config.h')
216+
213217
make -j`nproc`
214218
sudo make install
215219
cd ..

0 commit comments

Comments
 (0)