summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-27 22:02:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-27 22:02:04 +0000
commit9f34ebe23176b69359d327c291bf8aff2fcafaf4 (patch)
tree6e60ce24edf84ee3dbfad85416fb15d991996be6
parent37835d905637553e33f09ed56ef1975e0e5aeef3 (diff)
downloadnginx-9f34ebe23176b69359d327c291bf8aff2fcafaf4.tar.gz
nginx-9f34ebe23176b69359d327c291bf8aff2fcafaf4.tar.bz2
test invalid --with-ld-opt in right place
-rw-r--r--auto/cc/conf1
-rw-r--r--auto/feature2
2 files changed, 2 insertions, 1 deletions
diff --git a/auto/cc/conf b/auto/cc/conf
index a7c8a0946..09ab9d32e 100644
--- a/auto/cc/conf
+++ b/auto/cc/conf
@@ -104,6 +104,7 @@ else
fi
CFLAGS="$CFLAGS $NGX_CC_OPT"
+NGX_TEST_LD_OPT="$NGX_LD_OPT"
if [ "$NGX_PLATFORM" != win32 ]; then
diff --git a/auto/feature b/auto/feature
index cd71e27b1..1bd334551 100644
--- a/auto/feature
+++ b/auto/feature
@@ -39,7 +39,7 @@ END
ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS $ngx_feature_inc_path \
- -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
+ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_TEST_LD_OPT $ngx_feature_libs"
ngx_feature_inc_path=