[PATCH] darwin: Make the xz executable path based.

Chris Johns chrisj at rtems.org
Thu Jan 25 05:48:01 UTC 2018


The xz tool is not provided in Xcode command line tools and needs to
built or obtained somehow. This path can be any where so relax the
need for an absolute path.

Close #3279
---
 source-builder/sb/darwin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-builder/sb/darwin.py b/source-builder/sb/darwin.py
index 102b104..d79cf47 100644
--- a/source-builder/sb/darwin.py
+++ b/source-builder/sb/darwin.py
@@ -53,7 +53,7 @@ def load():
         '_prefix':          ('dir',     'optional', '%{_usr}'),
         '__ldconfig':       ('exe',     'none',     ''),
         '__cvs':            ('exe',     'optional', 'cvs'),
-        '__xz':             ('exe',     'required', '%{_usr}/bin/xz'),
+        '__xz':             ('exe',     'required', 'xz'),
         'with_zlib':        ('none',    'none',     '--with-zlib=no'),
         '_forced_static':   ('none',    'none',     ''),
         '_ld_library_path': ('none',    'none',     'DYLD_LIBRARY_PATH')
-- 
2.14.3 (Apple Git-98)



More information about the devel mailing list