Bug 1338008 - Avoid creating a lipo symlink in /usr/bin for clang macosx builds. r=mshal

This commit is contained in:
Mike Hommey
2017-02-09 10:40:16 +09:00
parent 89fb4c0e76
commit 692db07c3d
2 changed files with 4 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ export LD_LIBRARY_PATH=$HOME_DIR/src/clang/lib
export CROSS_CCTOOLS_PATH=$HOME_DIR/src/cctools
export CROSS_SYSROOT=$HOME_DIR/src/MacOSX10.10.sdk
# cmake doesn't allow us to specify a path to lipo on the command line.
ln -sf $CROSS_CCTOOLS_PATH/bin/x86_64-apple-darwin11-lipo /usr/bin/lipo
export PATH=$PATH:$CROSS_CCTOOLS_PATH/bin
ln -sf $CROSS_CCTOOLS_PATH/bin/x86_64-apple-darwin11-lipo $CROSS_CCTOOLS_PATH/bin/lipo
# gets a bit too verbose here
set +x