File: gnukfreebsd.pl

package info (click to toggle)
libproc-processtable-perl 0.637-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 672 kB
  • sloc: ansic: 5,765; perl: 568; makefile: 15
file content (12 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
use Config;

symlink "os/Linux.c", "OS.c" || die "Could not link os/Linux.c to os/OS.c\n";

# We might have a non-threading perl, which doesn't add this
# necessary link option.
my $thread_lib = "-lpthread";

if( $Config{libs} !~ /(?:^|\s)$thread_lib(?:\s|$)/ ) {
  $self->{LIBS} ||= [];
  push @{ $self->{LIBS} }, $thread_lib;
}