diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-03-26 16:01:04 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2020-03-26 16:01:04 +0200 |
commit | 8fe3dbfc81eb3a49a55d63be7842d73ba72ac7a2 (patch) | |
tree | 310baa62e5e5379b6c5ab0a693f1de11aec99b6b /extra_tests | |
parent | skip tests that require gnu-compatible Makefile on win32 (diff) | |
download | pypy-8fe3dbfc81eb3a49a55d63be7842d73ba72ac7a2.tar.gz pypy-8fe3dbfc81eb3a49a55d63be7842d73ba72ac7a2.tar.bz2 pypy-8fe3dbfc81eb3a49a55d63be7842d73ba72ac7a2.zip |
try adding '-stdlib=libc++' for darwin
Diffstat (limited to 'extra_tests')
-rw-r--r-- | extra_tests/cffi_tests/cffi1/test_recompiler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extra_tests/cffi_tests/cffi1/test_recompiler.py b/extra_tests/cffi_tests/cffi1/test_recompiler.py index 4391bd5dd2..e33c527517 100644 --- a/extra_tests/cffi_tests/cffi1/test_recompiler.py +++ b/extra_tests/cffi_tests/cffi1/test_recompiler.py @@ -39,6 +39,9 @@ def verify(ffi, module_name, source, *args, **kwds): from extra_tests.cffi_tests.support import extra_compile_args kwds['extra_compile_args'] = (kwds.get('extra_compile_args', []) + extra_compile_args) + if sys.platform == 'darwin': + kwds['extra_compile_args'] = (kwds.get('extra_compile_args', []) + + ['-stdlib=libc++']) return _verify(ffi, module_name, source, *args, **kwds) def test_set_source_no_slashes(): |