|
|
|
@ -155,11 +155,21 @@ ${MAKE_EXECUTABLE} install |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export STATIC_LIB_DIR=${BUILD_DIR_FFMPEG}/${ANDROID_ABI}/lib |
|
|
|
|
export EXTERNAL_LIB_DIR=${INSTALL_DIR}/lib |
|
|
|
|
echo STATIC_LIB_DIR=${STATIC_LIB_DIR} |
|
|
|
|
echo EXTERNAL_LIB_DIR=${EXTERNAL_LIB_DIR} |
|
|
|
|
echo FAM_CC=${FAM_CC} |
|
|
|
|
|
|
|
|
|
EXTERNAL_STATIC_LIB_PATH="" |
|
|
|
|
for LIBARY_NAME in ${FFMPEG_EXTERNAL_LIBRARIES[@]} |
|
|
|
|
do |
|
|
|
|
EXTERNAL_STATIC_LIB_PATH+="${EXTERNAL_LIB_DIR}/${LIBARY_NAME}.a " |
|
|
|
|
done |
|
|
|
|
echo EXTERNAL_STATIC_LIB_PATH=${EXTERNAL_STATIC_LIB_PATH} |
|
|
|
|
|
|
|
|
|
${FAM_CC} -shared -o ${STATIC_LIB_DIR}/${OUTPUT_SO_NAME} \ |
|
|
|
|
-Wl,--whole-archive,-Bsymbolic \ |
|
|
|
|
${EXTERNAL_STATIC_LIB_PATH}\ |
|
|
|
|
${STATIC_LIB_DIR}/libavutil.a \ |
|
|
|
|
${STATIC_LIB_DIR}/libavcodec.a \ |
|
|
|
|
${STATIC_LIB_DIR}/libavfilter.a \ |
|
|
|
|