Skip to content

Commit

Permalink
Enable Luabind error checking
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
HeliumAnt authored Dec 5, 2024
1 parent 186d4c8 commit 1ef5eda
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions external/sources/luabind-0.7.1/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ elif cxx.get_argument_syntax() == 'msvc'
cpp_options = ['cpp_std=vc++20']
endif

if (not get_option('debug')) or get_option('debug_type') == 'release'
luabind_args += ['-DLUABIND_NO_ERROR_CHECKING=1']
endif

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)

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

meson.override_dependency('luabind', luabind_dep)
meson.override_dependency('luabind', luabind_dep)

0 comments on commit 1ef5eda

Please sign in to comment.