summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-07-22 16:30:43 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-07-22 16:31:24 +0200
commit59d03ca9c94a7ec445899414399cb297e8a054ce (patch)
treec9737f31baadfae9bffabd5ec769efb0756adeda
parent97ddb6f4554ea8835e3798cff10b1ae329bd3ace (diff)
x264: create libtool library to fix the link in android
-rw-r--r--recipes/x264.recipe6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/x264.recipe b/recipes/x264.recipe
index a9973d4..79e2f5f 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()