File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -755,12 +755,12 @@ if build "libpng" "1.6.37"; then
755
755
execute make install
756
756
build_done " libpng" " 1.6.37"
757
757
fi
758
- # libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
759
- CPPFLAGS=
760
758
761
759
if build " libwebp" " 1.2.1" ; then
760
+ # libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
761
+ CPPFLAGS=
762
762
download " https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.1.tar.gz" " libwebp-1.2.1.tar.gz"
763
- execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
763
+ execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static --with-zlib-include= " ${WORKSPACE} " /include/ --with-zlib-lib= " ${WORKSPACE} " /lib
764
764
make_dir build
765
765
cd build || exit
766
766
execute cmake -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../
You can’t perform that action at this time.
0 commit comments