Skip to content

Commit 37e0c16

Browse files
committed
LIBPNG: Flush old PNG headers from cache as they break rebuild
1 parent 8b8e831 commit 37e0c16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/libpng/make.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ EXTRACONF=
77
if [ ! $SYS_PLATFORM = $SYS_HOSTPLATFORM ]; then
88
EXTRACONF=--host=$SYS_ARCH
99
fi
10+
#Previous headers break the build process, so remove them
11+
rmifexists $SYS_PREFIX/include/png*
1012

1113
package_configure $EXTRACONF --with-zlib-prefix="$SYS_PREFIX" --enable-static --disable-shared
1214

0 commit comments

Comments
 (0)