[gnome-sdk-images] Fix the mozjs31 build



commit 00fa8afe8ff9b443dcff78b0c923ffb4099d9757
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Dec 14 12:58:17 2016 +0100

    Fix the mozjs31 build

 org.gnome.Sdk.json.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 19f8df9..e0527bd 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -559,6 +559,7 @@
         },
         {
             "name": "mozjs31",
+            "no-parallel-make": true,
             "build-options" : {
                 "arch" : {
                     "i386" : {
@@ -611,6 +612,11 @@
                         "cp -f /usr/share/gnu-config/config.guess ./build/autoconf/"
                     ]
                 }
+            ],
+            "post-install": [
+                "cd /usr/include/mozjs-31; for link in `find . -type l`; do header=`readlink $link`; rm -f 
$link;  cp -p $header $link; done",
+                "cp -p js/src/js-config.h /usr/include/mozjs-31"
+
             ]
         },
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]