--- 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.
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(' '))