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
parent
2e79bd000c
commit
784f4d7737
|
@ -22,6 +22,7 @@ RUN \
|
||||||
git checkout "${GUETZLI_VERSION}" &&\
|
git checkout "${GUETZLI_VERSION}" &&\
|
||||||
make -j$(nproc) config=release \
|
make -j$(nproc) config=release \
|
||||||
TARGETDIR=/usr/local/bin \
|
TARGETDIR=/usr/local/bin \
|
||||||
|
LDFLAGS="-static -lpng -lz -lm" \
|
||||||
) &&\
|
) &&\
|
||||||
\
|
\
|
||||||
apk del --no-cache .build-deps &&\
|
apk del --no-cache .build-deps &&\
|
||||||
|
|
Loading…
Reference in New Issue