[hackers] [surf] link Xlib in config.mk || Connor Lane Smith
changeset: 232:2ea243e2ca82
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Sun Nov 20 16:06:38 2011 +0100
files: config.mk
description:
link Xlib in config.mk
diff -r 337054817c8b -r 2ea243e2ca82 config.mk
--- a/config.mk Wed Nov 09 15:09:59 2011 +0100
+++ b/config.mk Sun Nov 20 16:06:38 2011 +0100
_AT_@ -7,13 +7,15 @@
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
-GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
+X11INC = /usr/X11R6/include
+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
-INCS = -I. -I/usr/include ${GTKINC}
-LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0
+INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
Received on Sun Nov 20 2011 - 16:12:28 CET
This archive was generated by hypermail 2.3.0
: Sun Nov 20 2011 - 16:24:05 CET