From a64b9635a43f1a3c5af9417f14990ec7dff2369f Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 31 Oct 2024 10:17:06 +0100 Subject: [PATCH] expose SINGLE_INSTALL_DIR to build scripts --- src/compilation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compilation.py b/src/compilation.py index ac2a556..3a49a70 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -494,6 +494,10 @@ CC=\\"hack_libtool\\"%g" libtool''' self.build_environ.set("DIST_VERSION", self.config.VARS.dist_version) self.build_environ.set("DIST", self.config.VARS.dist) self.build_environ.set("VERSION", self.product_info.version) + single_install_dir = os.path.join(self.config.APPLICATION.workdir, + self.config.INTERNAL.config.install_dir, + self.config.INTERNAL.config.single_install_dir) + self.build_environ.set("SINGLE_INSTALL_DIR", single_install_dir) # if product is in hpc mode, set SAT_HPC to 1 # in order for the compilation script to take it into account if src.product.product_is_hpc(self.product_info): -- 2.39.2