Skip to contentSkip to conversation

base: Add nodejs-native dependency for npm:// urls

PATCH New Richard Purdie 1 participant 1 message Feb 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 base: Add nodejs-native dependency for npm:// urls

With the addition of the npm fetcher, we add the native dependency handling too.

meta/classes/base.bbclass +3 -0
index 1372f38..e066dc9 100644
@@ -577,6 +577,9 @@ python () {
         elif scheme == "osc":
             d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
 
+        elif scheme == "npm":
+            d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot')
+
         # *.lz4 should DEPEND on lz4-native for unpacking
         if path.endswith('.lz4'):
             d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')