Skip to content

Commit 1ef5eda

Browse files
authored
Enable Luabind error checking
The source of a bunch of issues on linux. A lot of them probably MT related, since with error checking enabled, there are no additional errors, but it doesn't crash anymore.
1 parent 186d4c8 commit 1ef5eda

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

external/sources/luabind-0.7.1/meson.build

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ elif cxx.get_argument_syntax() == 'msvc'
2020
cpp_options = ['cpp_std=vc++20']
2121
endif
2222

23-
if (not get_option('debug')) or get_option('debug_type') == 'release'
24-
luabind_args += ['-DLUABIND_NO_ERROR_CHECKING=1']
25-
endif
26-
2723
luabind = static_library('luabind071', luabind_src, dependencies: luabind_dependencies, include_directories:luabind_include, cpp_args:cpp_args+ luabind_args, override_options: ['warning_level=0']+ cpp_options)
2824

2925
luabind_dep = declare_dependency(link_with: luabind, dependencies: deps, include_directories: luabind_include, compile_args: luabind_args)
3026

31-
meson.override_dependency('luabind', luabind_dep)
27+
meson.override_dependency('luabind', luabind_dep)

0 commit comments

Comments
 (0)