diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-07-22 16:30:43 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-07-22 16:31:24 +0200 |
commit | 59d03ca9c94a7ec445899414399cb297e8a054ce (patch) | |
tree | c9737f31baadfae9bffabd5ec769efb0756adeda /recipes | |
parent | 97ddb6f4554ea8835e3798cff10b1ae329bd3ace (diff) |
x264: create libtool library to fix the link in android
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/x264.recipe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/x264.recipe b/recipes/x264.recipe index a9973d4b..79e2f5f3 100644 --- a/recipes/x264.recipe +++ b/recipes/x264.recipe @@ -1,4 +1,5 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): @@ -32,3 +33,8 @@ class Recipe(recipe.Recipe): self.configure_options += ' --disable-asm' if self.config.target_arch in [Architecture.ARM, Architecture.ARMv7]: self.new_env = {'AS': os.environ.get('GAS', '')} + + def post_install(self): + libtool_la = LibtoolLibrary('x264', 125, None, None, self.config.libdir, + self.config.target_platform) + libtool_la.save() |