Files @ r27708:cdce4d13d005
Branch filter:

Location: cpp/openttd-patchpack/source/os/emscripten/Dockerfile

Patric Stout
Fix: [Emscripten] actually link against nlohmann_json (#11120)

We fake a plain (non-scoped) library, but we don't actually set
the library to anything valid. In result, it is never actually
linked.
1
2
3
4
5
6
7
FROM emscripten/emsdk:3.1.37

COPY emsdk-liblzma.patch /
RUN cd /emsdk/upstream/emscripten && patch -p1 < /emsdk-liblzma.patch

COPY emsdk-nlohmann-json.patch /
RUN cd /emsdk/upstream/emscripten && patch -p1 < /emsdk-nlohmann-json.patch