@@ -376,9 +376,6 @@ def download(self):
376
376
info ('{} download already cached, skipping'
377
377
.format (self .name ))
378
378
379
- # Should check headers here!
380
- warning ('Should check headers here! Skipping for now.' )
381
-
382
379
# If we got this far, we will download
383
380
if do_download :
384
381
debug ('Downloading {} from {}' .format (self .name , url ))
@@ -924,7 +921,7 @@ def rebuild_compiled_components(self, arch, env):
924
921
class CppCompiledComponentsPythonRecipe (CompiledComponentsPythonRecipe ):
925
922
""" Extensions that require the cxx-stl """
926
923
call_hostpython_via_targetpython = False
927
-
924
+
928
925
def get_recipe_env (self , arch ):
929
926
env = super (CppCompiledComponentsPythonRecipe , self ).get_recipe_env (arch )
930
927
keys = dict (
@@ -942,21 +939,21 @@ def get_recipe_env(self, arch):
942
939
env ['LDFLAGS' ] += " -L{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}" \
943
940
" -lpython2.7" \
944
941
" -lgnustl_shared" .format (** keys )
945
-
946
-
942
+
943
+
947
944
return env
948
-
945
+
949
946
def build_compiled_components (self ,arch ):
950
947
super (CppCompiledComponentsPythonRecipe , self ).build_compiled_components (arch )
951
-
948
+
952
949
# Copy libgnustl_shared.so
953
950
with current_directory (self .get_build_dir (arch .arch )):
954
951
sh .cp (
955
952
"{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}/libgnustl_shared.so" .format (ctx = self .ctx ,arch = arch ),
956
953
self .ctx .get_libs_dir (arch .arch )
957
954
)
958
-
959
-
955
+
956
+
960
957
961
958
962
959
class CythonRecipe (PythonRecipe ):
0 commit comments