Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
merge pc file found at runtime (after install) with those found at bu…
Browse files Browse the repository at this point in the history
…ild time (namely _manual)

This should be tested by Acme::Ford::Prefect
  • Loading branch information
jberger committed Mar 2, 2013
1 parent 295a824 commit 6187875
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Alien/Base.pm
Expand Up @@ -122,9 +122,10 @@ sub _keyword {

sub pkgconfig {
my $self = shift;
#my %all = %{ $self->config('pkgconfig') };
my %all = %{ $self->config('pkgconfig') };

# merge in found pc files
require File::Find;
my %all;
my $wanted = sub {
return if ( -d or not /\.pc$/ );
my $pkg = Alien::Base::PkgConfig->new($_);
Expand Down

1 comment on commit 6187875

@jberger
Copy link
Member Author

@jberger jberger commented on 6187875 Mar 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should address the problems seen in #23 and #28. Please test to confirm, official tests should be added to Acme::Ford::Prefect soon.

Please sign in to comment.