fix LIB_PATH issue

This commit is contained in:
Thomas Pöchtrager 2013-12-15 19:48:36 +01:00
parent 2a4842f3cc
commit 89d48e1a45
2 changed files with 2 additions and 5 deletions

View File

@ -281,8 +281,8 @@ echo ""
echo "popd &>/dev/null" >> $OSXCROSS_CONF echo "popd &>/dev/null" >> $OSXCROSS_CONF
echo "" >> $OSXCROSS_CONF echo "" >> $OSXCROSS_CONF
if [ -f "$BUILD_DIR/cctools*/cctools/tmp/ldpath" ]; then if [ -f $BUILD_DIR/cctools*/cctools/tmp/ldpath ]; then
LIB_PATH="`cat $BUILD_DIR/cctools*/cctools/tmp/ldpath`" LIB_PATH=:`cat $BUILD_DIR/cctools*/cctools/tmp/ldpath`
else else
LIB_PATH="" LIB_PATH=""
fi fi

View File

@ -11,11 +11,8 @@ if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
set -e set -e
eval `osxcross-conf`
if [ `echo "${OSXCROSS_SDK_VERSION}<10.7" | bc -l` -eq 1 ]; then 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" echo "you must use the SDK from 10.7 or newer to get libc++ compiled"
exit 1 exit 1