Browse Source

fix(libvpx): fix fedora build error

冰雪殇璃陌梦 2 years ago
parent
commit
d3dfa588a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/l/libvpx/xmake.lua

+ 1 - 1
packages/l/libvpx/xmake.lua

@@ -32,7 +32,7 @@ package("libvpx")
 
     on_load(function (package)
         if package:is_targetarch("x64", "x86_64") then
-            if package:is_plat("freebsd") or (package:is_plat("linux") and linuxos.name == "fedora") then
+            if package:is_plat("freebsd") or (os.is_host("linux") and linuxos.name == "fedora") then
                 package:add("deps", "nasm")
             else
                 package:add("deps", "yasm")