diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-11-13 19:07:50 +0530 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-20 10:58:59 +0100 |
commit | e617e70c0d3ef4e1b6049fdbfa645ac535f47b7e (patch) | |
tree | 57dea7f94c64597fd1c416e2f42eb94e341c91f3 /recipes/libsrtp.recipe | |
parent | 7e9d0ad965a5bd3ce42bc0a0263ccd134b6dfa89 (diff) |
libsrtp: Install a libtool file as well
https://bugzilla.gnome.org/show_bug.cgi?id=740084
Diffstat (limited to 'recipes/libsrtp.recipe')
-rw-r--r-- | recipes/libsrtp.recipe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/libsrtp.recipe b/recipes/libsrtp.recipe index 09a84a4a..1cf90ced 100644 --- a/recipes/libsrtp.recipe +++ b/recipes/libsrtp.recipe @@ -1,5 +1,6 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +from cerbero.tools.libtool import LibtoolLibrary from cerbero.utils import shell class Recipe(recipe.Recipe): @@ -23,3 +24,8 @@ class Recipe(recipe.Recipe): self.make += ' all libsrtp.dylib' elif self.config.target_platform == Platform.WINDOWS: self.make += ' all libsrtp.dll' + + def post_install(self): + libtool_la = LibtoolLibrary('srtp', 0, None, None, self.config.libdir, + self.config.target_platform) + libtool_la.save() |