mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
fix LIB_PATH issue
This commit is contained in:
parent
2a4842f3cc
commit
89d48e1a45
4
build.sh
4
build.sh
@ -281,8 +281,8 @@ echo ""
|
||||
echo "popd &>/dev/null" >> $OSXCROSS_CONF
|
||||
echo "" >> $OSXCROSS_CONF
|
||||
|
||||
if [ -f "$BUILD_DIR/cctools*/cctools/tmp/ldpath" ]; then
|
||||
LIB_PATH="`cat $BUILD_DIR/cctools*/cctools/tmp/ldpath`"
|
||||
if [ -f $BUILD_DIR/cctools*/cctools/tmp/ldpath ]; then
|
||||
LIB_PATH=:`cat $BUILD_DIR/cctools*/cctools/tmp/ldpath`
|
||||
else
|
||||
LIB_PATH=""
|
||||
fi
|
||||
|
@ -11,11 +11,8 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
eval `osxcross-conf`
|
||||
|
||||
if [ `echo "${OSXCROSS_SDK_VERSION}<10.7" | bc -l` -eq 1 ]; then
|
||||
echo "you must use the SDK from 10.7 or newer to get libc++ compiled"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user