From 1ef5eda87cfa714bbe13007c668298db25c52b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20G=C3=B6ttlicher?= <8429918+HeliumAnt@users.noreply.github.com> Date: Fri, 6 Dec 2024 00:49:07 +0100 Subject: [PATCH] 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. --- external/sources/luabind-0.7.1/meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/external/sources/luabind-0.7.1/meson.build b/external/sources/luabind-0.7.1/meson.build index 850d386ef6..7ca5460ad9 100644 --- a/external/sources/luabind-0.7.1/meson.build +++ b/external/sources/luabind-0.7.1/meson.build @@ -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) \ No newline at end of file +meson.override_dependency('luabind', luabind_dep)