gplugin/gplugin

Some tweak to fix the build on openbsd

2020-12-29, Gary Kramlich
d54f5079d963
Some tweak to fix the build on openbsd

Testing Done:
Ran the build on a OpenBSD 32bit machine with default options.

Reviewed at https://reviews.imfreedom.org/r/311/
if get_option('perl5')
e = executable('test-perl5-loader', 'test-perl5-loader.c',
c_args : [
'-DPERL5_LOADER_DIR="@0@/.."'.format(meson.current_build_dir()),
'-DPERL5_PLUGIN_DIR="@0@/plugins"'.format(meson.current_source_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, gplugin_dep, perl_dep])
test('Perl5 Loader', e)
endif # perl5