<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME

    Alien::FFI - Build and make available libffi

VERSION

    version 0.03

SYNOPSIS

    In your Build.PL:

     use Alien::FFI;
     use Module::Build;
     
     my $build = Module::Build-&gt;new(
       ...
       extra_compiler_flags =&gt; Alien::FFI-&gt;cflags,
       extra_linker_flags   =&gt; Alien::FFI-&gt;libs,
       ...
     );
     
     $build-&gt;create_build_script;

    In your FFI::Raw script:

     use Alien::FFI;
     use FFI::Raw;
     
     my($dll) = Alien::FFI-&gt;dynamic_libs;
     FFI::Raw-&gt;new($dll, '...', ...);

DESCRIPTION

    This distribution installs libffi so that it can be used by other Perl
    distributions. If already installed for your operating system, and it
    can be found, this distribution will use the libffi that comes with
    your operating system, otherwise it will download it from the Internet,
    build and install it fro you.

AUTHOR

    Graham Ollis &lt;plicease@cpan.org&gt;

COPYRIGHT AND LICENSE

    This software is copyright (c) 2014 by Graham Ollis.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

</pre></body></html>