summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-19 23:23:52 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-19 23:25:19 +0530
commitce68b1ba6ecc19a3acec5b711716a99486d99b90 (patch)
tree3282a169304fc89834a979e23e16a3de7c1dff13
parent62c401fe15480d90e0db086607107dacb0a93b5c (diff)
spandsp.recipe: Always skip malloc check on iOS
While building for iOS/x86_64 on macOS 10.12, this fixes the same issue that Android has while compiling for x86_64. Undefined symbols for architecture x86_64: "_rpl_malloc", referenced from: _trie_create in make_at_dictionary-50049a.o _trie_node_create in make_at_dictionary-50049a.o ld: symbol(s) not found for architecture x86_64
-rw-r--r--recipes/spandsp.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/spandsp.recipe b/recipes/spandsp.recipe
index 3ed52bd5..09d65adc 100644
--- a/recipes/spandsp.recipe
+++ b/recipes/spandsp.recipe
@@ -20,7 +20,7 @@ class Recipe(recipe.Recipe):
def prepare(self):
# Workaround broken autoconf test in cross compilation
- if self.config.arch != self.config.target_arch or self.config.target_platform == Platform.ANDROID:
+ if self.config.arch != self.config.target_arch or self.config.target_platform in (Platform.ANDROID, Platform.IOS):
self.new_env['ac_cv_func_malloc_0_nonnull'] = 'yes'
self.new_env['ac_cv_func_realloc_0_nonnull'] = 'yes'
if self.config.target_platform == Platform.WINDOWS: