debian/patches/disable-rpath
raw| 1 | Description: Disable rpath |
| 2 | Disable rpath in linker flags. Otherwise lintian |
| 3 | will complain loudly when building libsdl-perl |
| 4 | Author: dod |
| 5 | --- a/inc/My/Builder/Unix.pm |
| 6 | +++ b/inc/My/Builder/Unix.pm |
| 7 | @@ -33,7 +33,7 @@ |
| 8 | my $ld = $inc_lib_candidates->{$_}; |
| 9 | if( -d $_ && -d $ld ) { |
| 10 | $rv{"-L$ld"} = 1; |
| 11 | - $rv{"-Wl,-rpath,$ld"} = 1 if $^O =~ /^linux|dragonfly|.+bsd$/; |
| 12 | + #$rv{"-Wl,-rpath,$ld"} = 1 if $^O =~ /^linux|dragonfly|.+bsd$/; |
| 13 | } |
| 14 | } |
| 15 | push @list, (keys %rv); |