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

This commit is contained in:
Ryan C. Gordon 2014-12-24 13:13:19 -05:00
parent fc40516744
commit 208636828d
1 changed files with 2 additions and 0 deletions

View File

@ -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