fix build-sdl.all to be cwd change resistant

This commit is contained in:
Mathieu Virbel 2012-12-16 13:40:15 +01:00
parent 48fe0740b0
commit 4e5de20389

View file

@ -4,8 +4,8 @@ pushd $KIVYIOSROOT/src/SDL/Xcode-iOS/SDL
xcodebuild -project SDL.xcodeproj -target libSDL -configuration Release -sdk iphoneos$SDKVER
popd
cp src/SDL/Xcode-iOS/SDL/build/Release-iphoneos/libSDL2.a $BUILDROOT/lib
cp -a src/SDL/include $BUILDROOT/include/SDL
cp $KIVYIOSROOT/src/SDL/Xcode-iOS/SDL/build/Release-iphoneos/libSDL2.a $BUILDROOT/lib
cp -a $KIVYIOSROOT/src/SDL/include $BUILDROOT/include/SDL
cat>$BUILDROOT/pkgconfig/sdl.pc<<EOF
# sdl pkg-config source file