version 1.89, 2017/08/15 01:29:23 |
version 1.90, 2017/08/26 09:03:51 |
|
|
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, $_); |
} |
} |
} |
} |
|
|
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, $_); |
} |
} |
} |
} |