[gjs/wip/ptomato/mozjs52: 10/42] build: Build with mozj45
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs52: 10/42] build: Build with mozj45
- Date: Sat, 24 Jun 2017 05:58:19 +0000 (UTC)
commit 1e78dfdae060067e22d8b76f6482b553736abc54
Author: Philip Chimento <philip chimento gmail com>
Date: Sun Mar 19 04:48:56 2017 +0000
build: Build with mozj45
Changes necessary to header and pkgconfig file names.
configure.ac | 2 +-
gjs/runtime.cpp | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 26ba229..85a518b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ GOBJECT_INTROSPECTION_REQUIRE([1.41.4])
GOBJECT_REQUIREMENT="gobject-2.0 >= glib_required_version"
gjs_base_packages="$GOBJECT_REQUIREMENT gio-2.0"
-common_packages="gthread-2.0 gio-2.0 >= glib_required_version mozjs-38"
+common_packages="gthread-2.0 gio-2.0 >= glib_required_version mozjs-45"
gjs_packages="gobject-introspection-1.0 libffi $common_packages"
gjs_cairo_packages="cairo cairo-gobject $common_packages"
gjs_gtk_packages="gtk+-3.0 >= 3.20"
diff --git a/gjs/runtime.cpp b/gjs/runtime.cpp
index eb9677b..3c9c206 100644
--- a/gjs/runtime.cpp
+++ b/gjs/runtime.cpp
@@ -23,8 +23,10 @@
#include <config.h>
-#include "jsapi-util.h"
#include "jsapi-wrapper.h"
+#include <js/Initialization.h>
+
+#include "jsapi-util.h"
#include "runtime.h"
#ifdef G_OS_WIN32
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]