From a0689a1f656be32052cd067140d982b4b4e6aa8e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 23 Oct 2026 02:46:27 +0900 Subject: internal/rosa/meson: support cross-compilation Meson does not want to play nice and accept arguments or environment variables for cross-compiling configuration, so a so-called mfile had to be generated and placed here. Signed-off-by: Ophestra --- internal/rosa/package/wayland.az | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/rosa/package') diff --git a/internal/rosa/package/wayland.az b/internal/rosa/package/wayland.az index 3b240994..25f0c680 100644 --- a/internal/rosa/package/wayland.az +++ b/internal/rosa/package/wayland.az @@ -35,6 +35,9 @@ echo 'int main(){}' > tests/sanity-test.c libexpat, libxml2, ]; + + // for wayland-scanner + native = [ wayland ]; } package wayland-protocols { @@ -53,6 +56,7 @@ package wayland-protocols { exec = meson {}; inputs = [ wayland ]; + tools = [ wayland ]; runtime = nil; unlikely = true; } -- cgit v1.3.1