[rtems-source-builder commit] darwin: Make the xz executable path based.

Chris Johns chrisj at rtems.org
Mon Jan 29 03:25:55 UTC 2018

Module:    rtems-source-builder
Branch:    4.11
Commit:    892b41666edbc81c6acf6018de51be567f52c214
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=892b41666edbc81c6acf6018de51be567f52c214

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jan 25 16:46:29 2018 +1100

darwin: Make the xz executable path based.

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')

More information about the vc mailing list