gplugin/gplugin

Parents fd4bb8956d03
Children 159f625002cc
add additional search directories to find libperl (fixes issue that libperl is not found on openSUSE)

Testing Done:
built on openSUSE and Gentoo

Reviewed at https://reviews.imfreedom.org/r/851/
--- a/perl5/meson.build Fri Jul 30 01:55:50 2021 -0500
+++ b/perl5/meson.build Fri Jul 30 02:08:32 2021 -0500
@@ -23,7 +23,8 @@
# make sure we have the perl library as well.
LIBPERL = []
if host_machine.system() != 'freebsd'
- LIBPERL = compiler.find_library('libperl')
+ INC = run_command(PERL, '-e print join("/CORE ",@INC)."/CORE"')
+ LIBPERL = compiler.find_library('libperl', dirs: INC.stdout().strip().split(' '))
endif
# make sure we have the gobject introspection perl module.