From ef31984add44fe87b9d6838c7205f7661362bed3 Mon Sep 17 00:00:00 2001 From: bookzhan Date: Mon, 24 Apr 2023 10:22:32 +0800 Subject: [PATCH] -Bsymbolic -Bsymbolic --- scripts/ffmpeg/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ffmpeg/build.sh b/scripts/ffmpeg/build.sh index e1211db..a7fe34d 100755 --- a/scripts/ffmpeg/build.sh +++ b/scripts/ffmpeg/build.sh @@ -159,7 +159,8 @@ echo STATIC_LIB_DIR=${STATIC_LIB_DIR} echo FAM_CC=${FAM_CC} ${FAM_CC} -shared -o ${STATIC_LIB_DIR}/${OUTPUT_SO_NAME} \ - -Wl,--whole-archive \ + -Wl,--whole-archive,-Bsymbolic \ + ${STATIC_LIB_DIR}/libavutil.a \ ${STATIC_LIB_DIR}/libavcodec.a \ ${STATIC_LIB_DIR}/libavfilter.a \ ${STATIC_LIB_DIR}/libswresample.a \