diff --git a/extras/Makefile.am b/extras/Makefile.am index 1bd72203..28ec20b1 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -21,6 +21,6 @@ get_disto_LDADD += $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) webp_quality_SOURCES = webp_quality.c webp_quality_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) -webp_quality_LDADD = ../imageio/libimageio_util.la ../imageio/libimagedec.la +webp_quality_LDADD = ../imageio/libimageio_util.la webp_quality_LDADD += ./libwebpextras.la -webp_quality_LDADD += ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS) +webp_quality_LDADD += ../src/libwebp.la diff --git a/extras/webp_quality.c b/extras/webp_quality.c index 9ab38f03..ff9b1aad 100644 --- a/extras/webp_quality.c +++ b/extras/webp_quality.c @@ -4,8 +4,7 @@ // the bucket it's in (q > 80? > 50? > 20?) and not take it for face value. /* gcc -o webp_quality webp_quality.c -O3 -I../ -L. -L../imageio \ - -lexample_util -limagedec -lwebpextras -lwebp -L/opt/local/lib \ - -lpng -lz -ljpeg -ltiff -lm -lpthread + -limageio_util -lwebpextras -lwebp -lm -lpthread */ #include diff --git a/makefile.unix b/makefile.unix index cbd06028..4fb3143d 100644 --- a/makefile.unix +++ b/makefile.unix @@ -410,16 +410,12 @@ examples/img2webp: src/mux/libwebpmux.a src/libwebp.a examples/img2webp: EXTRA_LIBS += $(CWEBP_LIBS) extras/get_disto: extras/get_disto.o -extras/get_disto: imageio/libimagedec.a -extras/get_disto: imageio/libimageio_util.a -extras/get_disto: $(EXTRA_LIB) src/libwebp.a +extras/get_disto: imageio/libimagedec.a imageio/libimageio_util.a src/libwebp.a extras/get_disto: EXTRA_LIBS += $(CWEBP_LIBS) extras/webp_quality: extras/webp_quality.o -extras/webp_quality: imageio/libimagedec.a extras/webp_quality: imageio/libimageio_util.a extras/webp_quality: $(EXTRA_LIB) src/libwebp.a -extras/get_disto: EXTRA_LIBS += $(CWEBP_LIBS) $(OUT_EXAMPLES) $(EXTRA_EXAMPLES) $(OTHER_EXAMPLES): $(CC) -o $@ $^ $(LDFLAGS)