Ticket #51918: patch-config.mk.diff

File patch-config.mk.diff, 958 bytes (added by harciga, 8 years ago)
  • config.mk

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