File: Makefile.PL

package info (click to toggle)
libposix-atfork-perl 0.04-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 192 kB
  • sloc: perl: 1,946; ansic: 64; makefile: 2; sh: 1
file content (30 lines) | stat: -rw-r--r-- 479 bytes parent folder | download
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
27
28
29
30
use lib '.';
use strict;
use inc::Module::Install;
use Module::Install::XSUtil;
use Config;

all_from 'lib/POSIX/AtFork.pm';

cc_warnings;
use_ppport;

cc_libs 'pthread';

test_requires 'Test::SharedFork';
test_requires 'Test::More' => 0.88; # done_testing()

tests_recursive;

clean_files q{
    *.o
};

if ( $^O eq 'android' ) {
  if ($Config{osvers} lt "2.3.6") {
    # This android doesn't have pthread-atfork()
    cc_src_paths 'android';
  }
}

WriteAll(check_nmake => 0);