Fix static build.

See https://github.com/google/guetzli/issues/146#issuecomment-290022456 for where this fix is coming from. It's a bit of a hack but it will do for now.
1 1.0.1
Icedream 2017-04-13 16:38:17 +02:00
parent 2e79bd000c
commit 784f4d7737
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ RUN \
git checkout "${GUETZLI_VERSION}" &&\
make -j$(nproc) config=release \
TARGETDIR=/usr/local/bin \
LDFLAGS="-static -lpng -lz -lm" \
) &&\
\
apk del --no-cache .build-deps &&\