浏览代码

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

Arthapz 3 年之前
父节点
当前提交
dd28154578
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/w/wayland-protocols/xmake.lua

+ 4 - 0
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"))