We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 865de72 + 7cdf79b commit 3938445Copy full SHA for 3938445
pythonforandroid/recipes/libcurl/__init__.py
@@ -15,8 +15,11 @@ class LibcurlRecipe(Recipe):
15
def build_arch(self, arch):
16
env = self.get_recipe_env(arch)
17
18
- r = self.get_recipe('openssl', self.ctx)
19
- openssl_dir = r.get_build_dir(arch.arch)
+ openssl_recipe = self.get_recipe('openssl', self.ctx)
+ openssl_dir = openssl_recipe.get_build_dir(arch.arch)
20
+
21
+ env['LDFLAGS'] += openssl_recipe.link_dirs_flags(arch)
22
+ env['LIBS'] = env.get('LIBS', '') + openssl_recipe.link_libs_flags()
23
24
with current_directory(self.get_build_dir(arch.arch)):
25
dst_dir = join(self.get_build_dir(arch.arch), 'dist')
0 commit comments