]> git.kaiwu.me - njs.git/commitdiff
Configure: fixed QuickJS detection with --with-quickjs flag.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 9 May 2024 19:58:57 +0000 (12:58 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 9 May 2024 19:58:57 +0000 (12:58 -0700)
auto/quickjs

index 4491fc5c5ea5fa93733413aa4e0ba99a55768027..8451d44d0ab6ee0ef15282c7d4bf98baff265a17 100644 (file)
@@ -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