forked from maxmind/MaxMind-DB-Reader-XS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
26 lines (19 loc) · 797 Bytes
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use strict;
use warnings;
use Module::Build;
warn <<'EOF';
********************************* WARNING **********************************
This module uses Dist::Zilla for development. This Build.PL will let you run
the tests, but you are encouraged to install Dist::Zilla and the needed
plugins if you intend on doing any serious hacking.
****************************************************************************
EOF
Module::Build->new(
module_name => 'MaxMind::DB::Reader::File::XS',
dist_abstract => 'Whatever',
dist_version => 42,
license => 'perl',
recursive_test_files => 1,
extra_compiler_flags => [qw(-Wall -Wdeclaration-after-statement)],
extra_linker_flags => ['-lmaxminddb'],
)->create_build_script();