gplugin/gplugin

6b762ae14f4c
Fix some leaks in the loader-registration test and make it easier to include gplugin-private
if get_option('lua')
e = executable('test-lua-loader', 'test-lua-loader.c',
c_args : [
'-DLUA_LOADER_DIR="@0@/.."'.format(meson.current_build_dir()),
'-DLUA_PLUGIN_DIR="@0@/plugins"'.format(
meson.current_source_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, LUA, gplugin_dep])
test('Lua Loader', e)
endif # lua