1Alien::FFI(3)         User Contributed Perl Documentation        Alien::FFI(3)
2
3
4

NAME

6       Alien::FFI - Build and make available libffi
7

VERSION

9       version 0.27
10

SYNOPSIS

12       In your Makefile.PL:
13
14        use ExtUtils::MakeMaker;
15        use Alien::Base::Wrapper ();
16
17        WriteMakefile(
18          Alien::Base::Wrapper->new('Alien::FFI')->mm_args2(
19            # MakeMaker args
20            NAME => 'My::XS',
21            ...
22          ),
23        );
24
25       In your Build.PL:
26
27        use Module::Build;
28        use Alien::Base::Wrapper qw( Alien::FFI !export );
29
30        my $builder = Module::Build->new(
31          ...
32          configure_requires => {
33            'Alien::FFI' => '0',
34            ...
35          },
36          Alien::Base::Wrapper->mb_args,
37          ...
38        );
39
40        $build->create_build_script;
41

DESCRIPTION

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

SEE ALSO

50       FFI::Platypus
51           Write Perl bindings to non-Perl libraries without C or XS
52
53       FFI::CheckLib
54           Check that a library is available for FFI
55

AUTHOR

57       Author: Graham Ollis <plicease@cpan.org>
58
59       Contributors:
60
61       Petr Písař (ppisar)
62
64       This software is copyright (c) 2014-2022 by Graham Ollis.
65
66       This is free software; you can redistribute it and/or modify it under
67       the same terms as the Perl 5 programming language system itself.
68
69
70
71perl v5.36.0                      2022-10-24                     Alien::FFI(3)
Impressum