From e09d1dd9b2d0b204031629e1fb381bb144e11500 Mon Sep 17 00:00:00 2001 From: Ray Lai Date: Wed, 14 Aug 2013 06:52:12 +0800 Subject: Use gtk3 webkit by default on OS X. --- osx/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'osx') diff --git a/osx/Makefile b/osx/Makefile index f24d040..f9ec516 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -1,5 +1,12 @@ LIBS= glib-2.0 -LIBS+= gtk+-2.0 webkit-1.0 +GTK_VERSION ?= gtk3 +ifeq ("${GTK_VERSION}", "gtk2") +LIBS+= gtk+-2.0 +LIBS+= webkit-1.0 +else +LIBS+= gtk+-3.0 +LIBS+= webkitgtk-3.0 +endif LIBS+= libsoup-2.4 gnutls CFLAGS+= -O2 -Wall -D_GNU_SOURCE -I. -I.. $(shell pkg-config --cflags $(LIBS)) $(JS_CF) -- cgit 1.4.1-2-gfad0