summary('tcc', get_option('tcc'), section : 'Loader Support', bool_yn : true) if not compiler.has_header('libtcc.h') error('libtcc.h not found') TCC = compiler.find_library('tcc') gplugin_tcc = shared_library('gplugin-tcc', c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="GPlugin-TCC"'], dependencies : [TCC, gplugin_dep], install_dir : get_option('libdir') / 'gplugin' # Add the loader's path to our environment variable devenv.append('GPLUGIN_PLUGIN_PATH', meson.current_build_dir())