From 208636828d497e006327988f1e950c3d1cbd9884 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 24 Dec 2014 13:13:19 -0500 Subject: [PATCH] I don't know if Unix scripts are useful at all on Emscripten, but fix them up. --- build-scripts/emscripten-buildbot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/emscripten-buildbot.sh b/build-scripts/emscripten-buildbot.sh index aeef83b44..de9fc7aa4 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