diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-08-25 04:13:22 +0530 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-08-25 09:32:02 +0300 |
commit | 40779ea8eb0ead12ad8de19021adc94d272f3d7a (patch) | |
tree | 5a1e3fcac17a02f6083cf5ed248ee1edc60f7358 /recipes/x264.recipe | |
parent | 274c852e857b85c8a8c1b9a5ba22c6f9802e59cc (diff) |
LibtoolLibrary: Auto-detect libraries and versions
Instead of requiring recipes to hard-code the major/minor/micro versions in the
recipe, auto-detect them based on the platform-specific filesprovider regular
expressions.
This reduces maintenance burden greatly and we now generate more accurate .la
files. A bunch of recipes were already wrong (openh264, taglib, etc).
Diffstat (limited to 'recipes/x264.recipe')
-rw-r--r-- | recipes/x264.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/x264.recipe b/recipes/x264.recipe index 7ba1de28..aa1f238c 100644 --- a/recipes/x264.recipe +++ b/recipes/x264.recipe @@ -54,6 +54,6 @@ class Recipe(recipe.Recipe): self.configure_options += ' --disable-asm ' def post_install(self): - libtool_la = LibtoolLibrary('x264', 148, None, None, self.config.libdir, + libtool_la = LibtoolLibrary('x264', self.config.libdir, self.config.target_platform) libtool_la.save() |