Skip to content

Commit

Permalink
fix build-sdl.all to be cwd change resistant
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Dec 16, 2012
1 parent 48fe074 commit 4e5de20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build-sdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e5de20

Please sign in to comment.