summaryrefslogtreecommitdiff
path: root/recipes/zlib.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-09-04 12:27:25 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-09-04 12:27:25 +0200
commit43aa3fb56f3d11f8b853668ddfed4bbb4c1fb089 (patch)
treeb81bf3f6aeddca2a9587d1895f003cdfabcbca1e /recipes/zlib.recipe
parent642016fb2d713240be1e1065af0a8663cea95420 (diff)
zlib: create libtool library
Diffstat (limited to 'recipes/zlib.recipe')
-rw-r--r--recipes/zlib.recipe5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe
index 1e1dcb72..3786e66f 100644
--- a/recipes/zlib.recipe
+++ b/recipes/zlib.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):
@@ -22,3 +23,7 @@ class Recipe(recipe.Recipe):
'LIBRARY_PATH=%(prefix)s/lib ' \
'BINARY_PATH=%(prefix)s/bin ' % {'prefix':self.config.prefix}
self._remove_steps ([BuildSteps.CONFIGURE])
+
+ def post_install(self):
+ libtool_la = LibtoolLibrary('z', 1, 2, 7, self.config.libdir)
+ libtool_la.save()