[njs] Configure: fixed QuickJS detection with --with-quickjs flag.

Dmitry Volyntsev xeioex at nginx.com
Thu May 9 19:59:56 UTC 2024


details:   https://hg.nginx.org/njs/rev/02369792b032
branches:  
changeset: 2326:02369792b032
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu May 09 12:58:57 2024 -0700
description:
Configure: fixed QuickJS detection with --with-quickjs flag.

diffstat:

 auto/quickjs |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f146b5dc21cc -r 02369792b032 auto/quickjs
--- a/auto/quickjs	Wed May 01 17:31:01 2024 -0700
+++ b/auto/quickjs	Thu May 09 12:58:57 2024 -0700
@@ -81,7 +81,7 @@ if [ $NJS_TRY_QUICKJS = YES ]; then
         NJS_LIB_AUX_LIBS="$NJS_LIB_AUX_LIBS $njs_feature_libs"
     fi
 
-    if [ $NJS_QUICKJS = YES -a $njs_found = no ]; then
+    if [ $NJS_QUICKJS = YES -a $NJS_HAVE_QUICKJS = NO ]; then
         echo
         echo $0: error: no QuickJS library found.
         echo


More information about the nginx-devel mailing list