Skip to content

Commit

Permalink
chore: re-enable musl-g++ link for musl build image (#15679)
Browse files Browse the repository at this point in the history
fix: re-enable musl-g++ link for musl build image
  • Loading branch information
dantengsky authored May 30, 2024
1 parent 0b2f70a commit 0cf8158
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/build-tool/musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cf8158

Please sign in to comment.