diff options
author | Josh Rickmar <jrick@devio.us> | 2012-07-18 13:10:34 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-07-18 13:10:34 -0400 |
commit | e5017e8231a6a3dc13f3ef76913f407f1dcb870a (patch) | |
tree | 48daff6f04309d87b6ea8d0b6755f5ca3c36f71d /linux | |
parent | fbf697246e795a87ddec8c525ded0dac75ce952f (diff) | |
download | xombrero-e5017e8231a6a3dc13f3ef76913f407f1dcb870a.tar.gz |
Use the correct javascriptcoregtk on linux with gtk3.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/Makefile | 7 |
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 |