소스 검색

chore(svt-av1): tweaks

冰雪殇璃陌梦 2 년 전
부모
커밋
e2d36036b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/s/svt-av1/xmake.lua

+ 1 - 1
packages/s/svt-av1/xmake.lua

@@ -37,7 +37,7 @@ package("svt-av1")
             io.replace(path.join(os.curdir(), "Source", "Lib", "Encoder", "CMakeLists.txt"), "list(APPEND PLATFORM_LIBS Threads::Threads)", "", {plain = true})
         elseif package:is_plat("mingw") and package:is_arch("x64", "x86_64") then
             table.insert(configs, "-DCMAKE_SYSTEM_PROCESSOR=AMD64")
-        elseif package:is_plat("android") and package:is_arch("arm64.*") then
+        elseif package:is_plat("android") and package:is_targetarch("arm64.*") then
             table.insert(configs, "-DCMAKE_SYSTEM_PROCESSOR=aarch64")
         end
         import("package.tools.cmake").install(package, configs)