From 7366f56ee2827c206d480bae8d40c25eb292b89a Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 1 Apr 2022 10:43:00 +0200 Subject: [PATCH] sat #29570 : set SAT_prodname__IS_NATIVE variables at build time to help compilations scripts in some particular cases --- src/environment.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/environment.py b/src/environment.py index 3bf34cb..2deb565 100644 --- a/src/environment.py +++ b/src/environment.py @@ -579,6 +579,10 @@ class SalomeEnviron: if not self.forBuild: if src.product.product_is_compile_time(pi): return + else: + if src.product.product_is_native(pi) : + self.set("SAT_%s_IS_NATIVE"%pi.name, "1") + # skip pip products when pip is activated and installation is done in python #if (src.appli_test_property(self.cfg,"pip", "yes") and -- 2.39.2