aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 4bdc4df..5217626 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -261,6 +261,10 @@ class Environment:
self.exe_suffix = ''
self.object_suffix = 'o'
self.win_libdir_layout = False
+ if 'STRIP' in os.environ:
+ self.native_strip_bin = shlex.split('STRIP')
+ else:
+ self.native_strip_bin = ['strip']
def is_cross_build(self):
return self.cross_info is not None