mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-29 05:29:47 +00:00
presence of InterfaceLib should be optional
This commit is contained in:
parent
0775243ab8
commit
206db120f4
@ -92,10 +92,8 @@ function locateAndCheckInterfacesAndLibraries()
|
||||
if locateInterfaceThing INTERFACELIB InterfaceLib; then
|
||||
SHAREDLIBRARIES=`dirname "$INTERFACELIB"`
|
||||
else
|
||||
echo "Could not find InterfaceLib anywhere inside InterfaceAndLibraries/"
|
||||
echo "(This file is required for PowerPC support only)"
|
||||
echo
|
||||
explainInterfaces
|
||||
SHAREDLIBRARIES=""
|
||||
echo "Could not find InterfaceLib, using included import libraries."
|
||||
fi
|
||||
|
||||
if locateInterfaceThing OPENTRANSPORTAPPPPC OpenTransportAppPPC.o; then
|
||||
@ -219,10 +217,12 @@ function setUpInterfacesAndLibraries()
|
||||
fi
|
||||
|
||||
if [ $BUILD_PPC != false ]; then
|
||||
case `ResInfo -n "$INTERFACELIB" || echo 0` in
|
||||
case `ResInfo -n "$INTERFACELIB" > /dev/null || echo 0` in
|
||||
0)
|
||||
echo "WARNING: Couldn't read resource fork for \"$INTERFACELIB\"."
|
||||
echo " Falling back to included import libraries."
|
||||
if [ -n "$INTERFACELIB" ]; then
|
||||
echo "WARNING: Couldn't read resource fork for \"$INTERFACELIB\"."
|
||||
echo " Falling back to included import libraries."
|
||||
fi
|
||||
echo "Copying readymade PowerPC import libraries..."
|
||||
cp $SRC/ImportLibraries/*.a $PREFIX/powerpc-apple-macos/lib/
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user