From e5017e8231a6a3dc13f3ef76913f407f1dcb870a Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 18 Jul 2012 13:10:34 -0400 Subject: Use the correct javascriptcoregtk on linux with gtk3. --- linux/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'linux') 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 -- cgit 1.4.1-2-gfad0 ption> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/314divide.subx
blob: c0b855264201840ee81686b5f4bd00a42e797fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17