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

Chris Johns chrisj at rtems.org
Mon Jan 29 03:24:37 UTC 2018


Module:    rtems-source-builder
Branch:    4.10
Commit:    b0fc0b29c9cbd96e10b2cbd04414ac2bd7901e06
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=b0fc0b29c9cbd96e10b2cbd04414ac2bd7901e06

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 #3280

---

 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