diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-12 07:51:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-12 07:51:42 +0200 |
commit | 9d5322d6a1220e91a1a4eabda08066bf60fa967e (patch) | |
tree | b49ab123a1c261302aa459df7f0a67d82b7e8f97 /build/root.build | |
parent | bebdfc468e7808704f724e58eaca0c994595dcde (diff) |
Make order of imports stable in saved host build configuration
Diffstat (limited to 'build/root.build')
-rw-r--r-- | build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
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 |