소스 검색

fix plat and arch for bin2c

ruki 4 년 전
부모
커밋
327a9201c6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)