[BACK]Return to pkg-config CVS log [TXT][DIR] Up to [local] / src / usr.bin / pkg-config

Diff for /src/usr.bin/pkg-config/pkg-config between version 1.89 and 1.90

version 1.89, 2017/08/15 01:29:23 version 1.90, 2017/08/26 09:03:51
Line 477 
Line 477 
         foreach my $pkg (@$list) {          foreach my $pkg (@$list) {
                 my $l = $configs{$pkg}->get_property('Cflags', $variables);                  my $l = $configs{$pkg}->get_property('Cflags', $variables);
                 foreach (@$l) {                  foreach (@$l) {
                         unless ($_ =~ /-I\/usr\/include/) {                          unless ($_ =~ /-I\/usr\/include\/*$/) {
                                 push(@$cflags, $_);                                  push(@$cflags, $_);
                         }                          }
                 }                  }
Line 513 
Line 513 
         foreach my $pkg (@$list) {          foreach my $pkg (@$list) {
                 my $l = $configs{$pkg}->get_property('Libs', $variables);                  my $l = $configs{$pkg}->get_property('Libs', $variables);
                 foreach (@$l) {                  foreach (@$l) {
                         unless ($_ =~ /-L\/usr\/lib/) {                          unless ($_ =~ /-L\/usr\/lib\/*$/) {
                                 push(@$libs, $_);                                  push(@$libs, $_);
                         }                          }
                 }                  }
                 if ($mode{static}) {                  if ($mode{static}) {
                         my $lp = $configs{$pkg}->get_property('Libs.private', $variables);                          my $lp = $configs{$pkg}->get_property('Libs.private', $variables);
                         foreach (@$lp) {                          foreach (@$lp) {
                                 unless ($_ =~ /-L\/usr\/lib/) {                                  unless ($_ =~ /-L\/usr\/lib\/*/) {
                                         push(@$libs, $_);                                          push(@$libs, $_);
                                 }                                  }
                         }                          }

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90