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:
		
							parent
							
								
									0e5eda7de8
								
							
						
					
					
						commit
						67adfa6f54
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -38,7 +38,7 @@ if ret.returncode() != 0
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
perl_ldflags = []
 | 
					perl_ldflags = []
 | 
				
			||||||
foreach flag : ret.stdout().strip().split(' ')
 | 
					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
 | 
					    perl_ldflags += flag
 | 
				
			||||||
  endif
 | 
					  endif
 | 
				
			||||||
endforeach
 | 
					endforeach
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue