Upgrade Emscripten + build fixes

- Upgraded to 3.1.47.
 - EM_CACHE override leads to some new issues with package search in sysroot, probably because sysroot is hardcoded in PKG_CONFIG* variables. Use Docker's path mapping mechanism instead.
 - Added temporary workaround for new issue from https://github.com/emscripten-core/emscripten/issues/16836.
This commit is contained in:
Ingvar Stepanyan
2023-10-17 03:16:30 +01:00
parent 83cceddc63
commit cfe8ef68b6
3 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
FROM emscripten/emsdk:3.1.3
RUN apt-get update && apt-get install -qqy autoconf autopoint pkg-config
FROM emscripten/emsdk:3.1.47
RUN apt-get update && apt-get install -qqy autoconf autopoint pkg-config libtool libtool-bin
WORKDIR /src
ENV EM_CACHE /src/deps/.emcache
CMD ["sh", "-c", "emmake make -j`nproc`"]