Introduce virtual dependency pkgconfig (#5198)
There are two providers, pkgconf and pkg-config, with the former being the default provider.
This commit is contained in:
committed by
Christoph Junghans
parent
7f0659f032
commit
5bbbfe9446
@@ -221,10 +221,10 @@ def autoreconf(self, spec, prefix):
|
||||
# This line is what is needed most of the time
|
||||
# --install, --verbose, --force
|
||||
autoreconf_args = ['-ivf']
|
||||
if 'pkg-config' in spec:
|
||||
if 'pkgconfig' in spec:
|
||||
autoreconf_args += [
|
||||
'-I',
|
||||
join_path(spec['pkg-config'].prefix, 'share', 'aclocal'),
|
||||
join_path(spec['pkgconfig'].prefix, 'share', 'aclocal'),
|
||||
]
|
||||
autoreconf_args += self.autoreconf_extra_args
|
||||
m.autoreconf(*autoreconf_args)
|
||||
|
||||
Reference in New Issue
Block a user