mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
parent
e0a171828a
commit
88cb6e8d0d
10
build.sh
10
build.sh
@ -150,9 +150,10 @@ fi
|
|||||||
## MacPorts ##
|
## MacPorts ##
|
||||||
|
|
||||||
pushd $TARGET_DIR/bin &>/dev/null
|
pushd $TARGET_DIR/bin &>/dev/null
|
||||||
create_symlink $BASE_DIR/tools/osxcross-macports osxcross-macports
|
rm -f osxcross-macports
|
||||||
create_symlink $BASE_DIR/tools/osxcross-macports osxcross-mp
|
cp $BASE_DIR/tools/osxcross-macports osxcross-macports
|
||||||
create_symlink $BASE_DIR/tools/osxcross-macports omp
|
create_symlink osxcross-macports osxcross-mp
|
||||||
|
create_symlink osxcross-macports omp
|
||||||
popd &>/dev/null
|
popd &>/dev/null
|
||||||
|
|
||||||
## Extract SDK and move it to $SDK_DIR ##
|
## Extract SDK and move it to $SDK_DIR ##
|
||||||
@ -175,7 +176,8 @@ set +e
|
|||||||
if [ $PLATFORM == "FreeBSD" ]; then
|
if [ $PLATFORM == "FreeBSD" ]; then
|
||||||
files=$(echo $SDK_DIR/MacOSX$SDK_VERSION.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/std*.h)
|
files=$(echo $SDK_DIR/MacOSX$SDK_VERSION.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/std*.h)
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
create_symlink $file usr/include
|
rm -f usr/include/$(basename $file)
|
||||||
|
cp $file usr/include
|
||||||
done
|
done
|
||||||
cp -f $BASE_DIR/oclang/quirks/tgmath.h usr/include
|
cp -f $BASE_DIR/oclang/quirks/tgmath.h usr/include
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user