diff options
Diffstat (limited to 'recipes/librtmp/librtmp.recipe')
-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) |