Skip to content

Commit d7501b6

Browse files
committed
Fix libpng not found
1 parent c72cf84 commit d7501b6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

build_scripts/build_ffmpeg.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,21 @@ if [ "$FLAVOR" = "full" ]; then
322322
make install
323323
popd
324324

325+
pushd libpng-${LIBPNG_VERSION}
326+
./configure \
327+
--prefix=$PREFIX \
328+
--host=$HOST \
329+
--with-pic \
330+
--enable-static \
331+
--disable-shared \
332+
--enable-arm-neon="$ARM_NEON" \
333+
--disable-shared
334+
335+
make clean
336+
make -j8
337+
make install
338+
popd
339+
325340
pushd freetype-${LIBFREETYPE_VERSION}
326341
./configure \
327342
--prefix=$PREFIX \
@@ -364,21 +379,6 @@ if [ "$FLAVOR" = "full" ]; then
364379
make install
365380
popd
366381

367-
pushd libpng-${LIBPNG_VERSION}
368-
./configure \
369-
--prefix=$PREFIX \
370-
--host=$HOST \
371-
--with-pic \
372-
--enable-static \
373-
--disable-shared \
374-
--enable-arm-neon="$ARM_NEON" \
375-
--disable-shared
376-
377-
make clean
378-
make -j8
379-
make install
380-
popd
381-
382382
pushd fontconfig-${LIBFONTCONFIG_VERSION}
383383
autoreconf -iv
384384
./configure \

0 commit comments

Comments
 (0)