Skip to content

Commit

Permalink
dist/docker/x86_64-alpine-linux-musl/Dockerfile: add libbz2 to the li…
Browse files Browse the repository at this point in the history
…nk line

It seems that we now need to include libbz2 in the set of forced static links.
  • Loading branch information
pkgw committed Aug 18, 2019
1 parent 7167bc6 commit 396d5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/docker/x86_64-alpine-linux-musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN sh /setup_unpriv.sh
# happen:

ADD cargo-config.toml /alpine/home/rust/.cargo/config
ENV RUSTFLAGS="-L /alpine/usr/lib -l static=expat -l static=uuid -l static=stdc++ -C target-feature=+crt-static"
ENV RUSTFLAGS="-L /alpine/usr/lib -l static=expat -l static=bz2 -l static=uuid -l static=stdc++ -C target-feature=+crt-static"
ENV TARGET_CC="x86_64-unknown-linux-musl-cc"
ENV TARGET_CXX="x86_64-unknown-linux-musl-g++"
ENV PKG_CONFIG_ALLOW_CROSS=1
Expand Down

0 comments on commit 396d5dd

Please sign in to comment.