diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-02-11 18:24:15 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-03-03 15:48:13 +0100 |
commit | 3bdf7702ba92a435c751f917304c37ac306d9fcf (patch) | |
tree | 73b07968f86ef33f1dc283d2af0f8bfd9e9594a8 | |
parent | e9359bcbb53db9dc346e872d9d9caff6f6720e6d (diff) |
librtmp: fix cross-compilation
-rw-r--r-- | recipes/librtmp/librtmp.recipe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/librtmp/librtmp.recipe b/recipes/librtmp/librtmp.recipe index 66fff121..f6d81f2c 100644 --- a/recipes/librtmp/librtmp.recipe +++ b/recipes/librtmp/librtmp.recipe @@ -18,11 +18,11 @@ class Recipe(recipe.Recipe): def prepare (self): - if self.config.platform == Platform.WINDOWS: + if self.config.target_platform == Platform.WINDOWS: system = 'mingw' - if self.config.platform in [Platform.DARWIN, Platform.IOS]: + if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: system = 'darwin' - if self.config.platform in [Platform.LINUX, Platform.ANDROID]: + if self.config.target_platform in [Platform.LINUX, Platform.ANDROID]: system = 'posix' self.make = 'make SYS=%s prefix=$CERBERO_PREFIX CRYPTO=GNUTLS' % (system) self.make_install = 'make install SYS=%s prefix=$CERBERO_PREFIX CRYPTO=GNUTLS' % (system) |