Skip to content

Commit

Permalink
fix bsd syslinks
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Jul 17, 2024
1 parent f23b3f5 commit ad2b985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/d/dav1d/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ package("dav1d")
add_configs("tools", {description = "Build tools", default = false, type = "boolean"})

add_deps("nasm", "meson", "ninja")
if is_plat("linux") then
if is_plat("linux", "bsd") then
add_syslinks("pthread", "dl")
end

on_install(function (package)
on_install("!android and !wasm", function (package)
import("package.tools.meson")

local configs = {"-Denable_tests=false"}
Expand Down

0 comments on commit ad2b985

Please sign in to comment.