23 lines
823 B
Diff
23 lines
823 B
Diff
--- zathura-djvu-0.2.7.orig/config.mk 2017-12-21 14:20:24.000000000 +0100
|
|
+++ zathura-djvu-0.2.7/config.mk 2017-12-31 00:41:02.580154770 +0100
|
|
@@ -16,6 +16,9 @@
|
|
DESKTOPPREFIX ?= ${PREFIX}/share/applications
|
|
|
|
# libs
|
|
+GTK_INC ?= $(shell pkg-config --cflags gtk+-2.0)
|
|
+GTK_LIB ?= $(shell pkg-config --libs gtk+-2.0)
|
|
+
|
|
CAIRO_INC ?= $(shell pkg-config --cflags cairo)
|
|
CAIRO_LIB ?= $(shell pkg-config --libs cairo)
|
|
|
|
@@ -34,8 +37,8 @@
|
|
PLUGINDIR = ${LIBDIR}/zathura
|
|
endif
|
|
|
|
-INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${CAIRO_INC} ${ZATHURA_INC}
|
|
-LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${CAIRO_LIB}
|
|
+INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${CAIRO_INC} ${ZATHURA_INC} ${GTK_INC}
|
|
+LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${CAIRO_LIB} ${GTK_LIB}
|
|
|
|
# pre-processor flags
|
|
CPPFLAGS += -D_FILE_OFFSET_BITS=64
|