diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-02-29 13:15:28 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-20 17:19:06 +0100 |
commit | f5087176b8360211bbfaba9f15cea3ddfb8845cb (patch) | |
tree | f1e7600cb92b6ea1d060045da6ddc304509caffa /recipes/zlib.recipe | |
parent | 420157c8c743b8280f8a2d72d7b5e04aff10d19d (diff) |
zlib: fix build for windows platforms
Diffstat (limited to 'recipes/zlib.recipe')
-rw-r--r-- | recipes/zlib.recipe | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe index d8d11460..9aa958da 100644 --- a/recipes/zlib.recipe +++ b/recipes/zlib.recipe @@ -8,10 +8,10 @@ class Recipe(recipe.Recipe): def prepare(self): from cerbero.config import Platform - if self.config.platform == Platform.WINDOWS: - self.build.make = 'make -f win32/Makefile.gcc' - self.build.install = 'make install -f win32/Makefile.gcc '\ - 'INCLUDE_PATH=%(prefix)sinclude '\ - 'LIBRARY_PATH=%(prefix)slib ' \ - 'BINARY_PATH=%(prefix)sbin ' % {'prefix':self.config.prefix} + if self.config.target_platform == Platform.WINDOWS: + self.make = 'PREFIX=%s- make -f win32/Makefile.gcc' % self.config.host + self.make_install = 'make install -f win32/Makefile.gcc '\ + 'INCLUDE_PATH=%(prefix)s/include '\ + 'LIBRARY_PATH=%(prefix)s/lib ' \ + 'BINARY_PATH=%(prefix)s/bin ' % {'prefix':self.config.prefix} self._remove_steps (['configure']) |