diff options
-rw-r--r-- | recipes/libvpx.recipe | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe index 0f0b820d..6db38b0b 100644 --- a/recipes/libvpx.recipe +++ b/recipes/libvpx.recipe @@ -53,6 +53,11 @@ class Recipe(recipe.Recipe): arch = 'arm64' self.new_env['LD'] = os.environ.get('CC', 'gcc') + if self.config.platform == Platform.DARWIN: + # make sure the linker uses the correct stdlib when building with + # 10.13 which makes the usage of libstdc++ a hard error. + self.append_env['LDFLAGS'] = '-stdlib=libc++' + if self.config.target_platform == Platform.DARWIN: platform = 'darwin12' elif self.config.target_platform == Platform.IOS: |