Skip to content

Commit 41f8dc8

Browse files
committed
libpng fixes
1 parent e0542c4 commit 41f8dc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-ffmpeg

+3
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ if build "zlib"; then
382382
execute ./configure --static --prefix="${WORKSPACE}"
383383
execute make -j $MJOBS
384384
execute make install
385+
LDFLAGS+=" -L/zlib/lib"
385386
build_done "zlib"
386387
fi
387388

@@ -621,6 +622,8 @@ fi
621622

622623
if build "libpng"; then
623624
download "https://deac-riga.dl.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.gz"
625+
export LDFLAGS="${LDFLAGS}"
626+
export CPPFLAGS="${CFLAGS}"
624627
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
625628
execute make -j $MJOBS
626629
execute make install

0 commit comments

Comments
 (0)