Prechádzať zdrojové kódy

add local confinement

xq114 4 rokov pred
rodič
commit
10940ae709
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      packages/b/blosc/xmake.lua

+ 1 - 1
packages/b/blosc/xmake.lua

@@ -11,7 +11,7 @@ package("blosc")
     add_deps("cmake")
     add_deps("cmake")
 
 
     on_install("macosx", "linux", "windows", "mingw", function (package)
     on_install("macosx", "linux", "windows", "mingw", function (package)
-        configs = {}
+        local configs = {}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         import("package.tools.cmake").install(package, configs)
         import("package.tools.cmake").install(package, configs)
         if is_plat("windows") then
         if is_plat("windows") then