Ticket #854: inter.progs.patch

File inter.progs.patch, 0.8 KB (added by jkeenan, 4 years ago)

Patch which ceases stripping of libpath from linkflags and ldflags

  • config/inter/progs.pm

     
    103103    $conf->debug("\nccflags: $ccflags\n"); 
    104104 
    105105    $linkflags = $conf->data->get('linkflags'); 
    106     $linkflags =~ s/-libpath:\S+//g;    # TT #854: No idea why. 
    107106    $linkflags = integrate( $linkflags, $conf->options->get('linkflags') ); 
    108107    $linkflags = prompt( "And flags for your linker?", $linkflags ) if $ask; 
    109108    $conf->data->set( linkflags => $linkflags ); 
    110109 
    111110    $ldflags = $conf->data->get('ldflags'); 
    112     $ldflags =~ s/-libpath:\S+//g;      # TT #854: No idea why. 
    113111    $ldflags = integrate( $ldflags, $conf->options->get('ldflags') ); 
    114112    $ldflags = prompt( "And your $ld flags for building shared libraries?", $ldflags ) 
    115113        if $ask;