summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-11-20 16:06:38 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-11-20 16:06:38 +0100
commitfc3161614133b6b9e8855110859d7a96c08879d0 (patch)
tree3b6a0d2d14597d4f4f37533701d2b2618c691782 /config.mk
parentb8f45a588d7fde9d16c1919783dfb4ebff395001 (diff)
downloadsurf-fc3161614133b6b9e8855110859d7a96c08879d0.tar.gz
surf-fc3161614133b6b9e8855110859d7a96c08879d0.tar.bz2
surf-fc3161614133b6b9e8855110859d7a96c08879d0.zip
link Xlib in config.mk
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index 3546665..4fd8319 100644
--- a/config.mk
+++ b/config.mk
@@ -7,13 +7,15 @@ VERSION = 0.4.1
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}\"