File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -194,8 +194,6 @@ def add_flags(include_flags, link_flags):
194
194
info ('Activating flags for openssl' )
195
195
recipe = Recipe .get_recipe ('openssl' , self .ctx )
196
196
add_flags (recipe .include_flags (arch ), recipe .link_flags (arch ))
197
- self .configure_args += \
198
- ('--with-openssl=' + recipe .get_build_dir (arch .arch ),)
199
197
return env
200
198
201
199
def get_recipe_env (self , arch = None , with_flags_in_cc = True ):
Original file line number Diff line number Diff line change @@ -38,5 +38,12 @@ class Python3Recipe(GuestPythonRecipe):
38
38
'--prefix={prefix}' ,
39
39
'--exec-prefix={exec_prefix}' )
40
40
41
+ def set_libs_flags (self , env , arch ):
42
+ env = super (Python3Recipe , self ).set_libs_flags (env , arch )
43
+ if 'openssl' in self .ctx .recipe_build_order :
44
+ self .configure_args += \
45
+ ('--with-openssl=' + recipe .get_build_dir (arch .arch ),)
46
+ return env
47
+
41
48
42
49
recipe = Python3Recipe ()
You can’t perform that action at this time.
0 commit comments