Skip to content

Commit b6e5c5d

Browse files
authored
Merge pull request #162 from cortex-command-community/linux-luabind-error-check
Enable Luabind error checking on linux
2 parents bea2868 + 1ef5eda commit b6e5c5d

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)