File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ class LevenshteinRecipe(CompiledComponentsPythonRecipe):
11
11
12
12
def get_recipe_env (self , arch ):
13
13
env = super (LevenshteinRecipe , self ).get_recipe_env (arch )
14
- bxml = "/home/zgoldberg/.local/share/python-for-android/build/other_builds/libxml2/armeabi/libxml2/"
15
- bxsl = "/home/zgoldberg/.local/share/python-for-android/build/other_builds/libxslt/armeabi/libxslt"
14
+ libxslt_recipe = Recipe . get_recipe ( 'libxslt' , self . ctx )
15
+ libxml2_recipe = Recipe . get_recipe ( 'libxml2' , self . ctx )
16
16
targetpython = "%s/include/python2.7/" % dirname (dirname (self .ctx .hostpython ))
17
- env ['CC' ] += " -I%s/include -I%s -I%s" % (bxml , bxsl , targetpython )
17
+ env ['CC' ] += " -I%s/include -I%s -I%s" % (libxml2_recipe , libxslt_recipe , targetpython )
18
18
env ['LDSHARED' ] = '%s -nostartfiles -shared -fPIC -lpython2.7' % env ['CC' ]
19
19
return env
20
20
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ def build_arch(self, arch):
26
26
27
27
def get_recipe_env (self , arch ):
28
28
env = super (LXMLRecipe , self ).get_recipe_env (arch )
29
- bxml = "/home/zgoldberg/.local/share/python-for-android/build/other_builds/libxml2/armeabi/libxml2/"
30
- bxsl = "/home/zgoldberg/.local/share/python-for-android/build/other_builds/libxslt/armeabi/libxslt"
29
+ libxslt_recipe = Recipe . get_recipe ( 'libxslt' , self . ctx )
30
+ libxml2_recipe = Recipe . get_recipe ( 'libxml2' , self . ctx )
31
31
targetpython = "%s/include/python2.7/" % dirname (dirname (self .ctx .hostpython ))
32
- env ['CC' ] += " -I%s/include -I%s -I%s" % (bxml , bxsl , targetpython )
32
+ env ['CC' ] += " -I%s/include -I%s -I%s" % (libxml2_recipe , libxslt_recipe , targetpython )
33
33
env ['LDSHARED' ] = '%s -nostartfiles -shared -fPIC -lpython2.7' % env ['CC' ]
34
34
return env
35
35
You can’t perform that action at this time.
0 commit comments