gplugin/gplugin

Parents 0ebea989c2b7
Children aad84a86eadb
add additional search directories to find libperl but make sure they're all absolute paths

make sure additional search directories to find libperl are absolute paths

Testing Done:
built on openSUSE, Debian Bullseye, and Ubuntu Hirsute

Reviewed at https://reviews.imfreedom.org/r/864/
--- a/perl5/meson.build Tue Aug 03 02:25:55 2021 -0500
+++ b/perl5/meson.build Tue Aug 03 02:28:43 2021 -0500
@@ -23,7 +23,7 @@
# make sure we have the perl library as well.
LIBPERL = []
if host_machine.system() != 'freebsd'
- INC = run_command(PERL, '-e print join("/CORE ",@INC)."/CORE"')
+ INC = run_command(PERL, '-e print join("/CORE ",grep(/^\\//,@INC))."/CORE"')
LIBPERL = compiler.find_library('libperl', dirs: INC.stdout().strip().split(' '))
endif