1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-25 20:57:40 +00:00

Add option to build janet without thread library.

This commit is contained in:
Calvin Rose
2021-07-17 15:13:28 -05:00
parent ab27b789e4
commit aea1f59f6e
6 changed files with 35 additions and 8 deletions

View File

@@ -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