File: disable-rpath

package info (click to toggle)
libalien-sdl-perl 1.446-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,580 kB
  • sloc: perl: 1,317; ansic: 130; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Disable rpath
 Disable rpath in linker flags. Otherwise lintian
 will complain loudly when building libsdl-perl
Author: dod
--- a/inc/My/Builder/Unix.pm
+++ b/inc/My/Builder/Unix.pm
@@ -33,7 +33,7 @@
     my $ld       = $inc_lib_candidates->{$_};
     if( -d $_ && -d $ld ) {
       $rv{"-L$ld"}          = 1;
-      $rv{"-Wl,-rpath,$ld"} = 1 if $^O =~ /^linux|dragonfly|.+bsd$/;
+      #$rv{"-Wl,-rpath,$ld"} = 1 if $^O =~ /^linux|dragonfly|.+bsd$/;
     }
   }
   push @list, (keys %rv);