diff --git a/docker/build-tool/musl/Dockerfile b/docker/build-tool/musl/Dockerfile index f4e1e53f7d26..4d9ead306551 100644 --- a/docker/build-tool/musl/Dockerfile +++ b/docker/build-tool/musl/Dockerfile @@ -20,6 +20,11 @@ RUN ln -s ${MUSL_TARGET}-gcc /usr/local/bin/musl-gcc RUN rustup target add ${MUSL_RUST_TARGET} +# needed by geos-sys +RUN ln -s ${MUSL_TARGET}-g++ /usr/local/bin/musl-g++ +RUN ln -s ${MUSL_TARGET}-ar /usr/local/bin/musl-ar + + # HACK: to link with libstdc++ statically # ref: https://github.com/rust-lang/rust/issues/36710#issuecomment-364623950 COPY linker.sh /usr/local/bin/linker