From f48f3281a8f037fead9b02f75f761485c9abc2f4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 24 Oct 2026 14:55:21 +0900 Subject: internal/rosa/make: pre-configure script Sometimes helpful for changing the environment. Signed-off-by: Ophestra --- internal/rosa/make.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/rosa/make.go') diff --git a/internal/rosa/make.go b/internal/rosa/make.go index d8ff9a13..877648c0 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -17,6 +17,8 @@ type MakeHelper struct { // Command to generate the build system. Generate string + // Runs before configure. + ScriptConfigureEarly string // Runs before make. ScriptMakeEarly string // Runs before check. @@ -130,6 +132,7 @@ export PKG_CONFIG_SYSROOT_DIR='` + sysroot + `' export PKG_CONFIG_LIBDIR='` + sysroot + `/system/lib/pkgconfig:` + sysroot + `/system/share/pkgconfig' ` } + configure += attr.ScriptConfigureEarly if !attr.SkipConfigure { if attr.ConfigureName == "" { -- cgit v1.3.1