link Xlib in config.mk
This commit is contained in:
parent
b8f45a588d
commit
fc31616141
1 changed files with 6 additions and 4 deletions
10
config.mk
10
config.mk
|
@ -7,13 +7,15 @@ VERSION = 0.4.1
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
|
X11INC = /usr/X11R6/include
|
||||||
GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
|
GTKINC = `pkg-config --cflags gtk+-2.0 webkit-1.0`
|
||||||
|
GTKLIB = `pkg-config --libs gtk+-2.0 webkit-1.0`
|
||||||
|
|
||||||
# includes and libs
|
# includes and libs
|
||||||
INCS = -I. -I/usr/include ${GTKINC}
|
INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
|
||||||
LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||||
|
|
Loading…
Reference in a new issue