I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 24 Dec 2014 13:13:19 -0500
changeset 9285 559ac7dd4ee4
parent 9284 f5fb020fb928
child 9286 1672160a8bc1
I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
build-scripts/emscripten-buildbot.sh
--- a/build-scripts/emscripten-buildbot.sh	Wed Dec 24 13:03:20 2014 -0500
+++ b/build-scripts/emscripten-buildbot.sh	Wed Dec 24 13:13:19 2014 -0500
@@ -59,6 +59,8 @@
 
 echo "Moving things around..."
 emmake $MAKE install
+# Fix up a few things to a real install path
+perl -w -pi -e "s#$SDLBASE/emscripten-sdl2-installed#/usr/local#g;" ./emscripten-sdl2-installed/lib/libSDL2.la ./emscripten-sdl2-installed/lib/pkgconfig/sdl2.pc ./emscripten-sdl2-installed/bin/sdl2-config
 mkdir -p ./usr
 mv "$SDLBASE/emscripten-sdl2-installed" ./usr/local
 popd