Skip to content

Commit

Permalink
feat(ffmpeg): Allow --enable-static in ffmpeg (termux#21776)
Browse files Browse the repository at this point in the history
Current if we replace `--disable-static` with `--enable-static` in
then it fails with error:

    aarch64-linux-android-ar: not found

Fixing this error and the next one:

    make: aarch64-linux-android-ranlib: No such file or directory

So now one can just replace `--disable-static` with `--enable-static`
and it will also provide static libraries.

%ci:no-build
  • Loading branch information
xaionaro authored Oct 16, 2024
1 parent 8563347 commit 226a62d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ffmpeg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ termux_step_configure() {
--cc="$CC" \
--cxx="$CXX" \
--nm="$NM" \
--ar="$AR" \
--ranlib="llvm-ranlib" \
--pkg-config="$PKG_CONFIG" \
--strip="$STRIP" \
--cross-prefix="${TERMUX_HOST_PLATFORM}-" \
Expand Down

0 comments on commit 226a62d

Please sign in to comment.