diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 20:39:36 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 20:39:36 +0300 |
| commit | 71f0b19476adb170c24d6a8de4ab3133701b1aeb (patch) | |
| tree | 4035f3fe33b38782b96cfdde087dd566256eda92 /tests/meson.build | |
| parent | d505017cec86c000f891b003f5ca3481f5ffae61 (diff) | |
Fix macOS builds on Apple Silicon and Intel
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index 8372574..0aa78e8 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -10,6 +10,7 @@ test_c_args = ['-UNDEBUG'] test_env = environment() test_env.set('LD_PRELOAD', '') test_env.set('DYLD_INSERT_LIBRARIES', '') +test_env.set('NM', find_program('nm', native: true).full_path()) # [name, sources, dependencies, suites] term_tests = [ @@ -97,6 +98,7 @@ test('term-symbols-test', bash, args: [files('symbols_test.sh'), term_headless_lib.get_static_lib(), meson.project_source_root() / 'include' / 'term', term_headless_lib.get_shared_lib()], + env: test_env, suite: 'unit', ) test('term-header-test', bash, |
