Expilicit passing of -lm to ffmpeg

ffmpeg_4.4.2
Javernaut 5 years ago
parent 3d18da472c
commit 698910a640
  1. 2
      ffmpeg-android-maker.sh
  2. 1
      scripts/ffmpeg/build.sh
  3. 2
      scripts/libopus/build.sh

@ -112,7 +112,7 @@ do
cd ${!COMPONENT_SOURCES_DIR_VARIABLE} cd ${!COMPONENT_SOURCES_DIR_VARIABLE}
# and executing the component-specific build script # and executing the component-specific build script
${SCRIPTS_DIR}/${COMPONENT}/build.sh source ${SCRIPTS_DIR}/${COMPONENT}/build.sh
# Returning to the root directory. Just in case. # Returning to the root directory. Just in case.
cd ${BASE_DIR} cd ${BASE_DIR}

@ -34,7 +34,6 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--pkg-config=$(which pkg-config) \ --pkg-config=$(which pkg-config) \
--pkg-config-flags="--static" \
${EXTRA_BUILD_CONFIGURATION_FLAGS} \ ${EXTRA_BUILD_CONFIGURATION_FLAGS} \
$ADDITIONAL_COMPONENTS $ADDITIONAL_COMPONENTS

@ -19,6 +19,8 @@
RANLIB=${FAM_RANLIB} \ RANLIB=${FAM_RANLIB} \
AR=${FAM_AR} AR=${FAM_AR}
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lm"
${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC} ${MAKE_EXECUTABLE} -j${HOST_NPROC}
${MAKE_EXECUTABLE} install ${MAKE_EXECUTABLE} install

Loading…
Cancel
Save