From aea1f59f6ea3b383324f836fee9e5625a6aaee80 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 17 Jul 2021 15:13:28 -0500 Subject: Add option to build janet without thread library. --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') 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 -- cgit v1.2.3