Merge arch headers into LLVM provided include directory
If not building with FULL_LLVM the directory is empty or doesn't exist. Otherwise it contains the LLVM headers. In either case merge the architecture specific ones into it.
This commit is contained in:
1 parent
4a60685f51
commit
2312d6ef64
1 file changed
+2
-2
@@ -52,14 +52,14 @@ cp $SRC/$CROSS_ARCH-w64-mingw32/bin/*.dll $DEST/bin
|
|||||||
rm -rf $DEST/lib/clang/$CLANG_VERSION
|
rm -rf $DEST/lib/clang/$CLANG_VERSION
|
||||||
cp -a $CLANG_RESOURCE_DIR $DEST/lib/clang/$CLANG_VERSION
|
cp -a $CLANG_RESOURCE_DIR $DEST/lib/clang/$CLANG_VERSION
|
||||||
|
|
||||||
rm -rf $DEST/include
|
mkdir -p $DEST/include
|
||||||
# Copy over headers and arch specific files, converting a unix style
|
# Copy over headers and arch specific files, converting a unix style
|
||||||
# install (everything in arch specific subdirectories) into
|
# install (everything in arch specific subdirectories) into
|
||||||
# what we'd have when built on Windows, as if build-mingw-w64.sh
|
# what we'd have when built on Windows, as if build-mingw-w64.sh
|
||||||
# was called with --skip-include-triplet-prefit, with all headers
|
# was called with --skip-include-triplet-prefit, with all headers
|
||||||
# in $DEST/include, and only keeping the bin and lib directories for the
|
# in $DEST/include, and only keeping the bin and lib directories for the
|
||||||
# individual architectures.
|
# individual architectures.
|
||||||
cp -a $SRC/generic-w64-mingw32/include $DEST/include
|
cp -a $SRC/generic-w64-mingw32/include/. $DEST/include
|
||||||
for arch in $ARCHS; do
|
for arch in $ARCHS; do
|
||||||
mkdir -p $DEST/$arch-w64-mingw32
|
mkdir -p $DEST/$arch-w64-mingw32
|
||||||
for subdir in bin lib share; do
|
for subdir in bin lib share; do
|
||||||
|
|||||||
Reference in new issue
Block a user