1
0
mirror of https://github.com/janet-lang/janet synced 2025-12-06 08:38:07 +00:00

Fix single threaded build option with meson.

By default, was building with the opposite of what was provided.
This commit is contained in:
Calvin Rose
2019-10-05 20:35:11 -05:00
parent fede40f279
commit f780df0aa6
2 changed files with 3 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ conf.set_quoted('JANET_VERSION', meson.project_version())
# Use options
conf.set_quoted('JANET_BUILD', get_option('git_hash'))
conf.set('JANET_NO_NANBOX', not get_option('nanbox'))
conf.set('JANET_SINGLE_THREADED', not get_option('single_threaded'))
conf.set('JANET_SINGLE_THREADED', get_option('single_threaded'))
conf.set('JANET_NO_DYNAMIC_MODULES', not get_option('dynamic_modules'))
conf.set('JANET_NO_DOCSTRINGS', not get_option('docstrings'))
conf.set('JANET_NO_SOURCEMAPS', not get_option('sourcemaps'))