summaryrefslogtreecommitdiff
path: root/recipes/librtmp
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-08-25 04:13:22 +0530
committerSebastian Dröge <sebastian@centricular.com>2016-08-25 09:32:02 +0300
commit40779ea8eb0ead12ad8de19021adc94d272f3d7a (patch)
tree5a1e3fcac17a02f6083cf5ed248ee1edc60f7358 /recipes/librtmp
parent274c852e857b85c8a8c1b9a5ba22c6f9802e59cc (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/librtmp')
-rw-r--r--recipes/librtmp/librtmp.recipe5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes/librtmp/librtmp.recipe b/recipes/librtmp/librtmp.recipe
index a5df815b..5fee0b89 100644
--- a/recipes/librtmp/librtmp.recipe
+++ b/recipes/librtmp/librtmp.recipe
@@ -33,7 +33,6 @@ class Recipe(recipe.Recipe):
self.make_install = 'make install SYS=%s prefix=$CERBERO_PREFIX CRYPTO=GNUTLS XLDFLAGS="$LDFLAGS" XCFLAGS="$CFLAGS" CC="$CC" LD="$LD"' % (system)
def post_install(self):
- deps = ['gnutls']
- libtool_la = LibtoolLibrary('rtmp', 0, None, None, self.config.libdir,
- self.config.target_platform, deps)
+ libtool_la = LibtoolLibrary('rtmp', self.config.libdir,
+ self.config.target_platform, deps=['gnutls'])
libtool_la.save()