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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user