summary refs log tree commit diff stats
path: root/plugins/perl/meson.build
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2017-06-14 23:29:50 -0400
committerPatrick Griffis <tingping@tingping.se>2017-06-14 23:31:01 -0400
commit67adfa6f54ee86d73b5e6cbb235f68ff43fd9179 (patch)
tree8c4d43780fc00959cc2514b4c79c9f25cb5a19f6 /plugins/perl/meson.build
parent0e5eda7de819119da2587cb643910720226a60c1 (diff)
build: Fix rpath not getting set for perl plugin
Some distros of perl pass an rpath so we shouldn't ignore it.
Other junk comes with it but oh well.
Diffstat (limited to 'plugins/perl/meson.build')
-rw-r--r--plugins/perl/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/perl/meson.build b/plugins/perl/meson.build
index 49011884..08764a16 100644
--- a/plugins/perl/meson.build
+++ b/plugins/perl/meson.build
@@ -38,7 +38,7 @@ if ret.returncode() != 0
 endif
 perl_ldflags = []
 foreach flag : ret.stdout().strip().split(' ')
-  if flag.startswith('-L') or flag.startswith('-l')
+  if flag.startswith('-L') or flag.startswith('-l') or flag.startswith('-Wl')
     perl_ldflags += flag
   endif
 endforeach