aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2021-07-17 15:13:28 -0500
committerCalvin Rose <calsrose@gmail.com>2021-07-17 15:13:28 -0500
commitaea1f59f6ea3b383324f836fee9e5625a6aaee80 (patch)
treea92353a3500a3ee13a4ecd894e546a6cac0c3ed4 /meson.build
parentFix minimal build. (diff)
Add option to build janet without thread library.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
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