meson: fix setting of extra checks option

It's checked for with #ifdef so setting it to 0 or 1
will always enable it.
This commit is contained in:
Tim-Philipp Müller 2018-08-03 10:36:21 +01:00
parent 463663d4b4
commit 69400c9fcf

View file

@ -373,7 +373,7 @@ test_deps = [gmp_dep, gsl_dep, gslcblas_dep]
# Used by gstinfo.c
dl_dep = cc.find_library('dl', required : false)
cdata.set('HAVE_DLADDR', cc.has_function('dladdr', dependencies : dl_dep))
cdata.set10('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
cdata.set('GST_ENABLE_EXTRA_CHECKS', get_option('extra-checks'))
cdata.set('USE_POISONING', get_option('poisoning'))
configinc = include_directories('.')