24 lines
734 B
Diff
24 lines
734 B
Diff
|
--- a/config.mk 2012-05-14 01:13:09.009740082 +0400
|
||
|
+++ b/config.mk 2012-05-14 01:13:50.400525700 +0400
|
||
|
@@ -11,6 +11,9 @@
|
||
|
LIBDIR ?= ${PREFIX}/lib
|
||
|
|
||
|
# 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)
|
||
|
|
||
|
@@ -29,8 +32,8 @@
|
||
|
PLUGINDIR = ${LIBDIR}/zathura
|
||
|
endif
|
||
|
|
||
|
-INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC}
|
||
|
-LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB}
|
||
|
+INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC} ${GTK_INC}
|
||
|
+LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${GTK_LIB}
|
||
|
|
||
|
# flags
|
||
|
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
|