about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-18 13:10:34 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-18 13:10:34 -0400
commite5017e8231a6a3dc13f3ef76913f407f1dcb870a (patch)
tree48daff6f04309d87b6ea8d0b6755f5ca3c36f71d /linux
parentfbf697246e795a87ddec8c525ded0dac75ce952f (diff)
downloadxombrero-e5017e8231a6a3dc13f3ef76913f407f1dcb870a.tar.gz
Use the correct javascriptcoregtk on linux with gtk3.
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 6a93843..389daff 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -1,7 +1,12 @@
+GTK_VERSION?= gtk3
+ifeq ("${GTK_VERSION}", "gtk2")
 JS_CF=$(shell pkg-config --silence-errors --cflags javascriptcoregtk-1.0)
 JS_LD=$(shell pkg-config --silence-errors --libs javascriptcoregtk-1.0)
+else
+JS_CF=$(shell pkg-config --silence-errors --cflags javascriptcoregtk-3.0)
+JS_LD=$(shell pkg-config --silence-errors --libs javascriptcoregtk-3.0)
+endif
 
-GTK_VERSION?= gtk3
 LIBS= glib-2.0
 ifeq ("${GTK_VERSION}", "gtk2")
 LIBS+= gtk+-2.0 webkit-1.0