From 1b1df86ce824125da651d2e40ebe301576c4c96f Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Fri, 27 Sep 2024 18:05:03 +0200 Subject: [PATCH] Set up environment during build preparations --- src/alire/alire-roots.adb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/alire/alire-roots.adb b/src/alire/alire-roots.adb index fae9448b8..aa19a5cff 100644 --- a/src/alire/alire-roots.adb +++ b/src/alire/alire-roots.adb @@ -101,6 +101,10 @@ package body Alire.Roots is -- Will regenerate on demand only those changed. For shared -- dependencies, will also generate any missing configs not generated -- during sync, such as for linked releases and the root release. + + -- Set the environment to be used during build + + This.Export_Build_Environment; end Build_Prepare; ----------- @@ -279,8 +283,6 @@ package body Alire.Roots is return True; end if; - This.Export_Build_Environment; - This.Traverse (Build_Single_Release'Access); return True;