@@ -376,9 +376,6 @@ def download(self):
376376 info ('{} download already cached, skipping'
377377 .format (self .name ))
378378
379- # Should check headers here!
380- warning ('Should check headers here! Skipping for now.' )
381-
382379 # If we got this far, we will download
383380 if do_download :
384381 debug ('Downloading {} from {}' .format (self .name , url ))
@@ -924,7 +921,7 @@ def rebuild_compiled_components(self, arch, env):
924921class CppCompiledComponentsPythonRecipe (CompiledComponentsPythonRecipe ):
925922 """ Extensions that require the cxx-stl """
926923 call_hostpython_via_targetpython = False
927-
924+
928925 def get_recipe_env (self , arch ):
929926 env = super (CppCompiledComponentsPythonRecipe , self ).get_recipe_env (arch )
930927 keys = dict (
@@ -942,21 +939,21 @@ def get_recipe_env(self, arch):
942939 env ['LDFLAGS' ] += " -L{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}" \
943940 " -lpython2.7" \
944941 " -lgnustl_shared" .format (** keys )
945-
946-
942+
943+
947944 return env
948-
945+
949946 def build_compiled_components (self ,arch ):
950947 super (CppCompiledComponentsPythonRecipe , self ).build_compiled_components (arch )
951-
948+
952949 # Copy libgnustl_shared.so
953950 with current_directory (self .get_build_dir (arch .arch )):
954951 sh .cp (
955952 "{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}/libgnustl_shared.so" .format (ctx = self .ctx ,arch = arch ),
956953 self .ctx .get_libs_dir (arch .arch )
957954 )
958-
959-
955+
956+
960957
961958
962959class CythonRecipe (PythonRecipe ):
0 commit comments