summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/test')
-rw-r--r--auto/lib/test5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/lib/test b/auto/lib/test
index d030655e1..3519a6c5c 100644
--- a/auto/lib/test
+++ b/auto/lib/test
@@ -1,5 +1,5 @@
-echo $ngx_n "checking for $ngx_lib library ..." $ngx_c
+echo $ngx_n "checking for $ngx_lib ..." $ngx_c
echo >> $NGX_ERR
echo "checking for $ngx_lib library" >> $NGX_ERR
@@ -8,7 +8,8 @@ ngx_found=no
echo "$ngx_lib_inc" > $NGX_AUTOTEST.c
echo "int main() { $ngx_lib_test; return 0; }" >> $NGX_AUTOTEST.c
-eval "$CC $cc_test_flags -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \
+eval "$CC $cc_test_flags $ngx_lib_cflags \
+ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \
>> $NGX_ERR 2>&1"
if [ -x $NGX_AUTOTEST ]; then