Add extsources to brotli (#1345)

* Update xmake.lua

* Update xmake.lua
pull/1348/head
ImperatorS79 3 years ago committed by GitHub
parent 0c3104df5c
commit 25e20a553b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      packages/b/brotli/xmake.lua

@ -19,6 +19,14 @@ package("brotli")
add_links("brotlienc", "brotlidec", "brotlicommon")
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::brotli")
elseif is_plat("linux") then
add_extsources("pacman::brotli", "apt::libbrotli-dev")
elseif is_plat("macosx") then
add_extsources("brew::brotli")
end
on_load(function (package)
package:addenv("PATH", "bin")
end)

Loading…
Cancel
Save