summaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2014-12-24 13:13:19 -0500
committerRyan C. Gordon <icculus@icculus.org>2014-12-24 13:13:19 -0500
commit7f4293d409125b2461a73755ff8865167dcdc45a (patch)
tree77e20f3798b88de7ee382d9883a0dc3a5e5e3e73 /build-scripts
parentd849777d1270587c1dcb0699bf5ae5087441e4c6 (diff)
I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/emscripten-buildbot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-scripts/emscripten-buildbot.sh b/build-scripts/emscripten-buildbot.sh
index aeef83b445..de9fc7aa44 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