Net-Libwebsockets

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

;

local $ENV{'PKG_CONFIG_PATH'} = $extra_dir if $extra_dir;

my $PKG = 'libwebsockets';

if (!ExtUtils::PkgConfig->exists($PKG)) {
    die "Your pkg-config can’t find $PKG; aborting …\n";
}

my @pc_cflags = split m< >, ExtUtils::PkgConfig->cflags($PKG);

my @libs = split m< >, ExtUtils::PkgConfig->libs($PKG);

my @pc_lddlflags = map { $_ ? (split m< >) : () } (
    ExtUtils::PkgConfig->libs_only_L($PKG),
    ExtUtils::PkgConfig->libs_only_other($PKG),
);

my @cflags = (
    @extra_cflags,
    @pc_cflags,
);

my @lddlflags = (



( run in 1.381 second using v1.01-cache-2.11-cpan-71847e10f99 )