Browse Source

fix plat and arch for bin2c

ruki 5 năm trước cách đây
mục cha
commit
327a9201c6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/b/bin2c/xmake.lua

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

@@ -16,7 +16,7 @@ package("bin2c")
             set_kind("binary")
             add_files("bin2c.c")
         ]])
-        import("package.tools.xmake").install(package)
+        import("package.tools.xmake").install(package, {plat = os.host(), arch = os.arch()})
     end)
 
     on_test(function (package)