summaryrefslogtreecommitdiff
path: root/recipes/librtmp
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-21 14:49:15 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-10-21 14:49:15 +0200
commit1579b25ce4a596a0d5083afc34006de1141cac27 (patch)
treefc6a2150a8fe3f6d771a1c023cfdd76ede3843fc /recipes/librtmp
parent4e6a5bf0faa45c5c9b044cd1dee02b27327c362e (diff)
librtmp: Fix build on OSX and probably others by passing CC and CFLAGS and LD to the build system
Diffstat (limited to 'recipes/librtmp')
-rw-r--r--recipes/librtmp/librtmp.recipe4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/librtmp/librtmp.recipe b/recipes/librtmp/librtmp.recipe
index 685202c6..90f2bf66 100644
--- a/recipes/librtmp/librtmp.recipe
+++ b/recipes/librtmp/librtmp.recipe
@@ -25,8 +25,8 @@ class Recipe(recipe.Recipe):
if self.config.target_platform in [Platform.LINUX, Platform.ANDROID]:
system = 'posix'
# LDFLAGS are passed via XLDFLAGS, and are needed for at least Android
- self.make = 'make SYS=%s prefix="$CERBERO_PREFIX" CRYPTO=GNUTLS XLDFLAGS="$LDFLAGS"' % (system)
- self.make_install = 'make install SYS=%s prefix=$CERBERO_PREFIX CRYPTO=GNUTLS' % (system)
+ self.make = 'make SYS=%s prefix="$CERBERO_PREFIX" CRYPTO=GNUTLS XLDFLAGS="$LDFLAGS" XCFLAGS="$CFLAGS" CC="$CC" LD="$LD"' % (system)
+ self.make_install = 'make install SYS=%s prefix=$CERBERO_PREFIX CRYPTO=GNUTLS XLDFLAGS="$LDFLAGS" XCFLAGS="$CFLAGS" CC="$CC" LD="$LD"' % (system)
def post_install(self):
deps = ['gcrypt', 'gnutls']