Skip to content

Commit

Permalink
Adding -lsharpyuv flag for FFmpeg build in case libwebp is built
Browse files Browse the repository at this point in the history
  • Loading branch information
Javernaut committed Oct 15, 2023
1 parent 7050c53 commit b09f2c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/libwebp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
AR=${FAM_AR} \
RANLIB=${FAM_RANLIB} || exit 1

export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lm"
# libsharpyuv.a is available alongside the libwebp.a
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lm -lsharpyuv"

${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC}
Expand Down

0 comments on commit b09f2c2

Please sign in to comment.