1Alien::Build::Plugin::PUrsoebre:C:oCnBturiilbduetre(d3A)Pleireln:D:oBcuuimledn:t:aPtliuognin::Probe::CBuilder(3)
2
3
4
6 Alien::Build::Plugin::Probe::CBuilder - Probe for system libraries by
7 guessing with ExtUtils::CBuilder
8
10 version 2.17
11
13 use alienfile;
14 plugin 'Probe::CBuilder' => (
15 cflags => '-I/opt/libfoo/include',
16 libs => '-L/opt/libfoo/lib -lfoo',
17 );
18
19 alternately:
20
21 ues alienfile;
22 plugin 'Probe::CBuilder' => (
23 aliens => [ 'Alien::libfoo', 'Alien::libbar' ],
24 );
25
27 This plugin probes for compiler and linker flags using
28 ExtUtils::CBuilder. This is a useful alternative to
29 Alien::Build::Plugin::PkgConfig::Negotiate for packages that do not
30 provide a pkg-config ".pc" file, or for when those ".pc" files may not
31 be available. (For example, on FreeBSD, "libarchive" is a core part of
32 the operating system, but doesn't include a ".pc" file which is usually
33 provided when you install the "libarchive" package on Linux).
34
36 options
37 Any extra options that you want to have passed into the constructor to
38 ExtUtils::CBuilder.
39
40 cflags
41 The compiler flags.
42
43 libs
44 The linker flags
45
46 program
47 The program to use in the test.
48
49 version
50 This is a regular expression to parse the version out of the output
51 from the test program.
52
53 aliens
54 List of aliens to query fro compiler and linker flags.
55
56 lang
57 The programming language to use. One of either "C" or "C++".
58
60 Alien::Build, alienfile, Alien::Build::MM, Alien
61
63 Author: Graham Ollis <plicease@cpan.org>
64
65 Contributors:
66
67 Diab Jerius (DJERIUS)
68
69 Roy Storey (KIWIROY)
70
71 Ilya Pavlov
72
73 David Mertens (run4flat)
74
75 Mark Nunberg (mordy, mnunberg)
76
77 Christian Walde (Mithaldu)
78
79 Brian Wightman (MidLifeXis)
80
81 Zaki Mughal (zmughal)
82
83 mohawk (mohawk2, ETJ)
84
85 Vikas N Kumar (vikasnkumar)
86
87 Flavio Poletti (polettix)
88
89 Salvador Fandiño (salva)
90
91 Gianni Ceccarelli (dakkar)
92
93 Pavel Shaydo (zwon, trinitum)
94
95 Kang-min Liu (劉康民, gugod)
96
97 Nicholas Shipp (nshp)
98
99 Juan Julián Merelo Guervós (JJ)
100
101 Joel Berger (JBERGER)
102
103 Petr Pisar (ppisar)
104
105 Lance Wicks (LANCEW)
106
107 Ahmad Fatoum (a3f, ATHREEF)
108
109 José Joaquín Atria (JJATRIA)
110
111 Duke Leto (LETO)
112
113 Shoichi Kaji (SKAJI)
114
115 Shawn Laffan (SLAFFAN)
116
117 Paul Evans (leonerd, PEVANS)
118
120 This software is copyright (c) 2011-2020 by Graham Ollis.
121
122 This is free software; you can redistribute it and/or modify it under
123 the same terms as the Perl 5 programming language system itself.
124
125
126
127perl v5.30.2 2020-A0l3i-e2n0::Build::Plugin::Probe::CBuilder(3)