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
755755 execute make install
756756 build_done " libpng" " 1.6.37"
757757fi
758- # libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
759- CPPFLAGS=
760758
761759if build " libwebp" " 1.2.1" ; then
760+ # libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
761+ CPPFLAGS=
762762 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
764764 make_dir build
765765 cd build || exit
766766 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