Commit 208636828d497e006327988f1e950c3d1cbd9884

Ryan C. Gordon 2014-12-24T13:13:19

I don't know if Unix scripts are useful at all on Emscripten, but fix them up.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build-scripts/emscripten-buildbot.sh b/build-scripts/emscripten-buildbot.sh
index aeef83b..de9fc7a 100755
--- a/build-scripts/emscripten-buildbot.sh
+++ b/build-scripts/emscripten-buildbot.sh
@@ -59,6 +59,8 @@ emmake $MAKE
 
 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