From 35d428a5da048f2bc2434bd4704fba146ea2c3e8 Mon Sep 17 00:00:00 2001 From: Arcadiy Ivanov Date: Fri, 23 Aug 2019 19:37:59 -0400 Subject: [PATCH] When building from RPM auto/feature lacks LD_LIBRARY_PATH to be able to run the test --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index e40a76300c..6c0f986713 100644 --- a/config +++ b/config @@ -195,7 +195,7 @@ ngx_feature_test='lua_State *L = luaL_newstate(); SAVED_CC_TEST_FLAGS="$CC_TEST_FLAGS" CC_TEST_FLAGS="$ngx_lua_opt_I $CC_TEST_FLAGS" -. auto/feature +LD_LIBRARY_PATH=$LUAJIT_LIB . auto/feature if [ $ngx_found = no ]; then cat << END