This repository was archived by the owner on Apr 21, 2025. It is now read-only.
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ x86-64-mac-catalyst)
99
99
esac
100
100
101
101
CONFIGURE_POSTFIX=" "
102
+ HIGH_PRIORITY_LDFLAGS=" "
102
103
103
104
# SET CONFIGURE OPTIONS
104
105
for library in {0..61}; do
@@ -294,6 +295,7 @@ for library in {0..61}; do
294
295
expat)
295
296
FFMPEG_CFLAGS+=" $( pkg-config --cflags expat 2>> " ${BASEDIR} " /build.log) "
296
297
FFMPEG_LDFLAGS+=" $( pkg-config --libs --static expat 2>> " ${BASEDIR} " /build.log) "
298
+ HIGH_PRIORITY_LDFLAGS+=" $( pkg-config --libs --static expat 2>> " ${BASEDIR} " /build.log) "
297
299
;;
298
300
libogg)
299
301
FFMPEG_CFLAGS+=" $( pkg-config --cflags ogg 2>> " ${BASEDIR} " /build.log) "
@@ -449,7 +451,7 @@ COMMON_LDFLAGS=$(get_common_ldflags)
449
451
# UPDATE BUILD FLAGS
450
452
export CFLAGS=" ${ARCH_CFLAGS} ${APP_CFLAGS} ${COMMON_CFLAGS} ${OPTIMIZATION_CFLAGS} ${MIN_VERSION_CFLAGS}${FFMPEG_CFLAGS} ${COMMON_INCLUDES} "
451
453
export CXXFLAGS=$( get_cxxflags " ${LIB_NAME} " )
452
- export LDFLAGS=" ${ARCH_LDFLAGS}${FFMPEG_LDFLAGS} ${LINKED_LIBRARIES} ${COMMON_LDFLAGS} ${BITCODE_FLAGS} ${OPTIMIZATION_FLAGS} "
454
+ export LDFLAGS=" ${ARCH_LDFLAGS}${HIGH_PRIORITY_LDFLAGS}${ FFMPEG_LDFLAGS} ${LINKED_LIBRARIES} ${COMMON_LDFLAGS} ${BITCODE_FLAGS} ${OPTIMIZATION_FLAGS} "
453
455
454
456
echo -n -e " \n${LIB_NAME} : "
455
457
You can’t perform that action at this time.
0 commit comments