diff --git a/build.sh b/build.sh index a2d736a..d7fd977 100755 --- a/build.sh +++ b/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 diff --git a/build_libcxx.sh b/build_libcxx.sh index 0ccde6e..69297ac 100755 --- a/build_libcxx.sh +++ b/build_libcxx.sh @@ -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