Alien::pkgconf - Discover or download and install pkgconf + libpkgconf
use Alien::pkgconf; my $cflags = Alien::pkgconf->cflags; my $libs = Alien::pkgconf->libs;
This module provides you with the information that you need to invoke
pkgconf or link against
libpkgconf. It isn't intended to be used directly, but rather to provide the necessary package by a CPAN module that needs
libpkgconf, such as PkgConfig::LibPkgConf.
my $cflags = Alien::pkgconf->cflags;
The compiler flags for compiling against
my $libs = Alien::pkgconf->libs;
The linker flags for linking against
my($dll) = Alien::pkgconf->dynamic_libs;
.dynlib shared or dynamic library which can be used via FFI.
my $version = Alien::pkgconf->version;
my($dir) = Alien::pkgconf->bin_dir;
The directory where you can find
pkgconf. If it is not already in the
PATH. Adding this to
PATH should make tools that require
my $type = Alien::pkgconf->install_type;
The type of install, should be either
The name of the
pkgconf binary. This is usually just
You may need to have the GNU version of nm installed, which comes with GNU binutils.
Thanks to the
pkgconf developers for their efforts:
Thibault Duponchelle (tib)
This software is copyright (c) 2016 Graham Ollis.
This is free software; you may redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.