Browse Source

quickjs-ng: fix install plat

star9029 1 year ago
parent
commit
75f5d0bbec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/q/quickjs-ng/xmake.lua

+ 1 - 1
packages/q/quickjs-ng/xmake.lua

@@ -24,7 +24,7 @@ package("quickjs-ng")
         end)
         end)
     end
     end
 
 
-    on_install("!iphoneos and !windows@x86", function (package)
+    on_install("!iphoneos and windows|!x86", function (package)
         local configs = {}
         local configs = {}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))