Skip to content

Commit ab71b2e

Browse files
committed
Fix rav1e cargo-c cdylib issue
1 parent bcc9ca8 commit ab71b2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,10 @@ RUN \
535535
wget $WGET_OPTS -O rav1e.tar.gz "$RAV1E_URL" && \
536536
echo "$RAV1E_SHA256 rav1e.tar.gz" | sha256sum -c - && \
537537
tar $TAR_OPTS rav1e.tar.gz && cd rav1e-* && \
538-
# workaround weird cargo problem when on aws (?) weirdly alpine edge seems to work
539-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse" \
540538
RUSTFLAGS="-C target-feature=+crt-static" \
541-
cargo cinstall --release
539+
cargo cinstall \
540+
--release \
541+
--library-type staticlib
542542

543543
# bump: librtmp /LIBRTMP_COMMIT=([[:xdigit:]]+)/ gitrefs:https://git.ffmpeg.org/rtmpdump.git|re:#^refs/heads/master$#|@commit
544544
# bump: librtmp after ./hashupdate Dockerfile LIBRTMP $LATEST

0 commit comments

Comments
 (0)