app-i18n/yaft: add the patch to redraw less of the screen, sometimes
[sgilles-overlay.git] / app-text / fbpdf / files / fbpdf-0_p20161202-use-pkg-config.patch
blobabae2a4fdb564db63bfc4d4dcd8c32fc9f32002c
1 diff --git a/Makefile b/Makefile
2 index f986689..062f2a8 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -11,7 +11,7 @@ clean:
7 # pdf support using mupdf
8 fbpdf: fbpdf.o mupdf.o draw.o
9 - $(CC) -o $@ $^ $(LDFLAGS) -lmupdf -lmupdfthird -lcrypto -lm
10 + $(CC) -o $@ $^ $(LDFLAGS) $(shell pkg-config --libs mupdf) -lcrypto -lm
12 # djvu support
13 fbdjvu: fbpdf.o djvulibre.o draw.o