Ticket #474: parrot-1.0.0-rpath-removal.patch

File parrot-1.0.0-rpath-removal.patch, 0.9 KB (added by mvyskocil, 5 years ago)

The current rpath removal patch used in a spec file

  • config/inter/libparrot.pm

     
    9898    # Set -rpath (or equivalent) for executables to find the 
    9999    # shared libparrot in the build directory. 
    100100    $conf->data->set( 
    101         rpath_blib => ( $parrot_is_shared && $conf->data->get('rpath') ) 
    102         ? $conf->data->get('rpath') 
    103             . $conf->data->get('build_dir') 
    104             . $conf->data->get('slash') 
    105             . $conf->data->get('blib_dir') 
    106         : '' 
     101        rpath_blib => '' 
    107102    ); 
    108103 
    109104    # Set -rpath (or equivalent) for the installed executables to find the 
    110105    # installed shared libparrot. 
    111106    $conf->data->set( 
    112         rpath_lib => ( $parrot_is_shared && $conf->data->get('rpath') ) 
    113         ? $conf->data->get('rpath') 
    114             . $conf->data->get('libdir') 
    115         : '' 
     107        rpath_lib => '' 
    116108    ); 
    117109 
    118110    unless ( defined( $conf->data->get('libparrot_ldflags') ) ) {