• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/nodejs/4.2.3/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch
Jörg KrauseJörg Krause committed 584d777dda108 Dec 2015
Raw file
Source viewDiff to previous
 
1
From 4a48c65921b0f05b621aef5b902b6aa54811ad7a Mon Sep 17 00:00:00 2001
2
From: Martin Bark <martin@barkynet.com>
3
Date: Tue, 30 Jun 2015 09:44:33 +0100
4
Subject: [PATCH 3/4] Use a python variable instead of hardcoding Python
5
​
6
The nodejs build system uses python in a number of locations. However,
7
there are some locations where it hardcodes 'python' as the Python
8
interpreter. However, this causes problems when we need to use python2
9
instead of just python.
10
​
11
This patch fixes that by using the python variable already in place in
12
the nodejs build system.
13
​
14
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15
[Martin: adapt to 0.12.5]
16
Signed-off-by: Martin Bark <martin@barkynet.com>
17
[yann.morin.1998@free.fr: adapt to 4.1.2]
18
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
19
---
20
 deps/v8/tools/gyp/v8.gyp | 8 ++++----
21
 1 file changed, 4 insertions(+), 4 deletions(-)
22
​
23
diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp
24
index c703155..06c0b2b 100644
25
--- a/deps/v8/tools/gyp/v8.gyp
26
+++ b/deps/v8/tools/gyp/v8.gyp
27
@@ -1696,14 +1696,14 @@
28
                       '<(PRODUCT_DIR)/natives_blob_host.bin',
29
                     ],
30
                     'action': [
31
-                      'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin'
32
+                      '<(python)', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin'
33
                     ],
34
                   }, {
35
                     'outputs': [
36
                       '<(PRODUCT_DIR)/natives_blob.bin',
37
                     ],
38
                     'action': [
39
-                      'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
40
+                      '<(python)', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
41
                     ],
42
                   }],
43
                 ],
44
@@ -1712,7 +1712,7 @@
45
                   '<(PRODUCT_DIR)/natives_blob.bin',
46
                 ],
47
                 'action': [
48
-                  'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
49
+                  '<(python)', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
50
                 ],
51
               }],
52
             ],
53
@@ -1812,7 +1812,7 @@
54
             '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
55
           ],
56
           'action': [
57
-            'python',
58
+            '<(python)',
59
             '../../tools/js2c.py',
60
             '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
61
             'CORE',
62
@@ -1838,7 +1838,7 @@
63
             '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.