version 1.63, 2011/06/12 21:33:49 |
version 1.64, 2011/06/15 11:54:03 |
|
|
} |
} |
}; |
}; |
|
|
|
if (defined $mode{cflags} or $mode{static} or $mode{printreqprivate}) { |
|
&$get_props("Requires.private"); |
|
} |
&$get_props("Requires"); |
&$get_props("Requires"); |
&$get_props("Requires.private"); |
|
|
|
} |
} |
|
|
|
|
{ |
{ |
my ($p) = @_; |
my ($p) = @_; |
my $f = pathresolve($p); |
my $f = pathresolve($p); |
if (defined $f) { |
|
return get_config($f); |
return get_config($f) if defined($f); |
} |
|
say_error("Package $p was not found in the pkg-config search path"); |
say_error("Package $p was not found in the pkg-config search path"); |
|
|
return undef; |
return undef; |
|
|
my $l = $configs{$pkg}->get_property('Libs', $variables); |
my $l = $configs{$pkg}->get_property('Libs', $variables); |
push(@$libs, @$l) if defined $l; |
push(@$libs, @$l) if defined $l; |
} |
} |
|
|
my $a = OpenBSD::PkgConfig->compress($libs, |
my $a = OpenBSD::PkgConfig->compress($libs, |
sub { |
sub { |
local $_ = shift; |
local $_ = shift; |