Commit 1725a49e authored by Moritz Lipp's avatar Moritz Lipp

Merge branch 'develop' into 'develop'

Added flags for freetype, harfbuzz and zlib

[patch-config.mk.diff](/uploads/b2d68883bf75091aa3f048e7f31cac08/patch-config.mk.diff)

See merge request !1
parents 518fd77c 1042b2be
......@@ -32,10 +32,16 @@ endif
OPENSSL_INC ?= $(shell pkg-config --cflags libcrypto)
OPENSSL_LIB ?= $(shell pkg-config --libs libcrypto)
FREETYPE_INC ?= $(shell pkg-config --cflags freetype2)
FREETYPE_LIB ?= $(shell pkg-config --libs freetype2)
HARFBUZZ_INC ?= $(shell pkg-config --cflags harfbuzz)
HARFBUZZ_LIB ?= $(shell pkg-config --libs harfbuzz)
MUPDF_LIB ?= -lmupdf -lmupdfthird
INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC} ${FREETYPE_INC} ${HARFBUZZ_INC}
LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} ${FREETYPE_LIB} ${HARFBUZZ_LIB} -ljbig2dec -lopenjp2 -ljpeg -lz
# compiler flags
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment