mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2025-02-25 22:37:13 +00:00
fix strip options and properly copy include/ext
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
804b6e73d4
commit
56b373c97e
6
Makefile
6
Makefile
@ -19,8 +19,8 @@ clean::
|
||||
|
||||
installhdrs::
|
||||
|
||||
mkdir -p $(DSTROOT)/usr/include/c++/v1
|
||||
cp $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/
|
||||
mkdir -p $(DSTROOT)/usr/include/c++/v1/ext
|
||||
cp -r $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/
|
||||
chown -R root:wheel $(DSTROOT)/usr/include
|
||||
chmod 755 $(DSTROOT)/usr/include/c++/v1
|
||||
chmod 644 $(DSTROOT)/usr/include/c++/v1/*
|
||||
@ -31,7 +31,7 @@ install:: installhdrs $(DESTDIR)
|
||||
ditto lib/libc++.1.dylib $(SYMROOT)/usr/lib/libc++.1.dylib
|
||||
cd lib && dsymutil -o $(SYMROOT)/libc++.1.dylib.dSYM $(SYMROOT)/usr/lib/libc++.1.dylib
|
||||
mkdir -p $(DSTROOT)/usr/lib
|
||||
strip -u -r -x -S -o $(DSTROOT)/usr/lib/libc++.1.dylib $(SYMROOT)/usr/lib/libc++.1.dylib
|
||||
strip -S -o $(DSTROOT)/usr/lib/libc++.1.dylib $(SYMROOT)/usr/lib/libc++.1.dylib
|
||||
cd $(DSTROOT)/usr/lib && ln -s libc++.1.dylib libc++.dylib
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user