From 5a32f8f9b2f2540495e79cb39ce4a6861553fe79 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 5 Sep 2026 05:44:33 +0900 Subject: internal/rosa: separate native tools from libraries This removes most redundant runtime arguments and is useful for cross-compilation. Signed-off-by: Ophestra --- internal/rosa/meson.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'internal/rosa/meson.go') diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index 65e9fde9..97262fbb 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -34,14 +34,17 @@ type MesonHelper struct { var _ Helper = new(MesonHelper) -// extra returns hardcoded meson runtime dependencies. -func (attr *MesonHelper) extra() P { +// tools returns hardcoded meson runtime dependencies. +func (attr *MesonHelper) tools() P { if !attr.isPython() { return P{_muon} } return P{_meson} } +// inputs is a noop. +func (*MesonHelper) inputs() P { return nil } + // wantsChmod returns false. func (*MesonHelper) wantsChmod() bool { return false } -- cgit v1.3.1