Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Remove libpng-dev dependency from WebP (#752)

Ingvar Stepanyanbc8d75128f0c
diff --git a/codecs/webp_dec/build.sh b/codecs/webp_dec/build.sh
index faf3e3eb..e17d29c9 100755
--- a/codecs/webp_dec/build.sh
+++ b/codecs/webp_dec/build.sh
@@ -7,7 +7,7 @@ export LDFLAGS="${OPTIMIZE}"
export CFLAGS="${OPTIMIZE}"
export CPPFLAGS="${OPTIMIZE}"
apt-get update
-apt-get install -qqy autoconf libtool libpng-dev pkg-config
+apt-get install -qqy autoconf libtool pkg-config
echo "============================================="
echo "Compiling libwebp"
diff --git a/codecs/webp_enc/build.sh b/codecs/webp_enc/build.sh
index dc3184e2..4fa61ee1 100755
--- a/codecs/webp_enc/build.sh
+++ b/codecs/webp_enc/build.sh
@@ -8,7 +8,7 @@ export CFLAGS="${OPTIMIZE}"
export CPPFLAGS="${OPTIMIZE}"
apt-get update
-apt-get install -qqy autoconf libtool libpng-dev pkg-config
+apt-get install -qqy autoconf libtool pkg-config
echo "============================================="
echo "Compiling libwebp"