diff --git a/config.mk b/config.mk
index 6407ae6..404f4f1 100644
a
|
b
|
endif |
32 | 32 | OPENSSL_INC ?= $(shell pkg-config --cflags libcrypto) |
33 | 33 | OPENSSL_LIB ?= $(shell pkg-config --libs libcrypto) |
34 | 34 | |
| 35 | FREETYPE_INC ?= $(shell pkg-config --cflags freetype2) |
| 36 | FREETYPE_LIB ?= $(shell pkg-config --libs freetype2) |
| 37 | |
| 38 | HARFBUZZ_INC ?= $(shell pkg-config --cflags harfbuzz) |
| 39 | HARFBUZZ_LIB ?= $(shell pkg-config --libs harfbuzz) |
| 40 | |
35 | 41 | MUPDF_LIB ?= -lmupdf -lmupdfthird |
36 | 42 | |
37 | | INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC} |
38 | | LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg |
| 43 | INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC} ${FREETYPE_INC} ${HARFBUZZ_INC} |
| 44 | LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} ${FREETYPE_LIB} ${HARFBUZZ_LIB} -ljbig2dec -lopenjp2 -ljpeg -lz |
39 | 45 | |
40 | 46 | # compiler flags |
41 | 47 | CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS) |