From 2b7ba2ec064052cfc09e8ffa98020379b3374dc8 Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Mon, 3 Feb 2025 11:11:37 +0800 Subject: [PATCH] restrict wayland to native --- packages/w/wayland-protocols/xmake.lua | 2 +- packages/w/wayland/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/w/wayland-protocols/xmake.lua b/packages/w/wayland-protocols/xmake.lua index 249551ae6ea..b6b752be6de 100644 --- a/packages/w/wayland-protocols/xmake.lua +++ b/packages/w/wayland-protocols/xmake.lua @@ -22,7 +22,7 @@ package("wayland-protocols") add_extsources("apt::wayland-protocols", "pacman::wayland-protocols") end - on_install("linux", function (package) + on_install("linux|native", function (package) local configs = {"-Dtests=false"} import("package.tools.meson").install(package, configs) end) diff --git a/packages/w/wayland/xmake.lua b/packages/w/wayland/xmake.lua index f580c6d09ed..9b93141560d 100644 --- a/packages/w/wayland/xmake.lua +++ b/packages/w/wayland/xmake.lua @@ -19,7 +19,7 @@ package("wayland") add_deps("epoll-shim") end - on_install("linux", "bsd", function (package) + on_install("linux|native", "bsd", function (package) import("package.tools.meson") -- set environment variables