diff options
| author | 2021-07-17 15:13:28 -0500 | |
|---|---|---|
| committer | 2021-07-17 15:13:28 -0500 | |
| commit | aea1f59f6ea3b383324f836fee9e5625a6aaee80 (patch) | |
| tree | a92353a3500a3ee13a4ecd894e546a6cac0c3ed4 /meson.build | |
| parent | Fix minimal build. (diff) | |
Add option to build janet without thread library.
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index ff6cda15..55511b35 100644 --- a/meson.build +++ b/meson.build @@ -73,6 +73,7 @@ conf.set('JANET_NO_REALPATH', not get_option('realpath')) conf.set('JANET_NO_PROCESSES', not get_option('processes')) conf.set('JANET_SIMPLE_GETLINE', get_option('simple_getline')) conf.set('JANET_EV_EPOLL', get_option('epoll')) +conf.set('JANET_NO_THREADS', get_option('threads')) if get_option('os_name') != '' conf.set('JANET_OS_NAME', get_option('os_name')) endif |
