mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
[libc++][Apple] Make sure we install libc++experimental.a
Differential Revision: https://reviews.llvm.org/D146360
This commit is contained in:
parent
29d3e4e6e9
commit
16fe61ac7b
@ -15,9 +15,10 @@
|
||||
//
|
||||
// RUN: stat "%{include}/__config"
|
||||
|
||||
// Make sure we install libc++.1.dylib in the right location.
|
||||
// Make sure we install libc++.1.dylib and libc++experimental.a in the right location.
|
||||
//
|
||||
// RUN: stat "%{lib}/libc++.1.dylib"
|
||||
// RUN: stat "%{lib}/libc++experimental.a"
|
||||
|
||||
// Make sure we install a symlink from libc++.dylib to libc++.1.dylib.
|
||||
//
|
||||
|
@ -150,6 +150,9 @@ if [ "$headers_only" != true ]; then
|
||||
universal_dylib libc++.1.dylib
|
||||
universal_dylib libc++abi.dylib
|
||||
(cd "${install_dir}/usr/lib" && ln -s "libc++.1.dylib" libc++.dylib)
|
||||
|
||||
experimental_libs=$(for arch in ${architectures}; do echo "${build_dir}/${arch}-install/lib/libc++experimental.a"; done)
|
||||
xcrun lipo -create ${experimental_libs} -output "${install_dir}/usr/lib/libc++experimental.a"
|
||||
fi
|
||||
|
||||
# Install the headers by copying the headers from one of the built architectures
|
||||
|
Loading…
Reference in New Issue
Block a user