Skip to content

Commit 14e5fd1

Browse files
committed
Fix libxslt configure libxml path
1 parent 93f7384 commit 14e5fd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pythonforandroid/recipes/libxslt/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ def build_arch(self, arch):
2020
shprint(bash, 'configure',
2121
'--build=i686-pc-linux-gnu', '--host=arm-linux-eabi',
2222
'--without-plugins', '--without-debug', '--without-python', '--without-crypto',
23-
'--with-libxml-src=$BUILD_libxml2')
23+
'--with-libxml-src=../../../libxml2/armeabi/libxml2/')
2424
shprint(sh.make, _env=env)
2525
shutil.copyfile('src/libxslt/.libs/libxslt.a', join(self.ctx.get_libs_dir(arch.arch), 'libxslt.a'))
2626

2727

2828
def get_recipe_env(self, arch):
29-
env = super(LibXml2Recipe, self).get_recipe_env(arch)
29+
env = super(LibxsltRecipe, self).get_recipe_env(arch)
3030
env['CFLAGS'] += ' -Os'
3131
return env
3232

0 commit comments

Comments
 (0)