Add linux pacman add_extsources for wayland-protocols (#853)

pull/903/head
Arthapz 3 years ago committed by GitHub
parent ccf6766c56
commit dd28154578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/w/wayland-protocols/xmake.lua

@ -8,6 +8,10 @@ package("wayland-protocols")
add_deps("meson", "ninja", "wayland", "pkg-config")
if is_plat("linux") then
add_extsources("pacman::wayland-protocols")
end
on_install("linux", function (package)
local configs = {}
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))

Loading…
Cancel
Save