From 9d5322d6a1220e91a1a4eabda08066bf60fa967e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Jun 2020 07:51:42 +0200 Subject: Make order of imports stable in saved host build configuration --- build/root.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/root.build') diff --git a/build/root.build b/build/root.build index 5a5e961..5371419 100644 --- a/build/root.build +++ b/build/root.build @@ -29,6 +29,12 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # using c.config +# Imports for build2/ (or any subdirectory other than libbuild2/) should be +# done here in order to get stable order in the host build configuration that +# we embed into libbuild2. +# +import libbutl = libbutl%lib{butl} + # Load the cli module but only if it's available. This way a distribution # that includes pre-generated files can be built without installing cli. # This is also the reason why we need to explicitly spell out individual -- cgit v1.1