|
Lines 34-39
my $def = '-Wall -g -ggdb';
Link Here
|
| 34 |
$def .= ' -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64' if $^O eq 'darwin'; |
34 |
$def .= ' -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64' if $^O eq 'darwin'; |
| 35 |
$def .= ' -DPERL_HAS_64BITINT' if $Config{'use64bitint'}; |
35 |
$def .= ' -DPERL_HAS_64BITINT' if $Config{'use64bitint'}; |
| 36 |
|
36 |
|
|
|
37 |
my %mconf = ('LDDLFLAGS' => "$Config{lddlflags} -Wl,--no-as-needed"); |
| 38 |
|
| 37 |
WriteMakefile( |
39 |
WriteMakefile( |
| 38 |
'NAME' => 'Fuse', |
40 |
'NAME' => 'Fuse', |
| 39 |
'VERSION_FROM' => 'Fuse.pm', # finds $VERSION |
41 |
'VERSION_FROM' => 'Fuse.pm', # finds $VERSION |
|
Lines 55-60
WriteMakefile(
Link Here
|
| 55 |
'INC' => $inc, # e.g., '-I/usr/include/other' |
57 |
'INC' => $inc, # e.g., '-I/usr/include/other' |
| 56 |
# Un-comment this if you add C files to link with later: |
58 |
# Un-comment this if you add C files to link with later: |
| 57 |
'OBJECT' => "$obj Fuse.o -lpthread", # link all the C files too |
59 |
'OBJECT' => "$obj Fuse.o -lpthread", # link all the C files too |
|
|
60 |
'CONFIGURE' => sub{ return \%mconf; }, # fix linking to specific symbols in FUSE |
| 58 |
); |
61 |
); |
| 59 |
|
62 |
|
| 60 |
sub MY::postamble { |
63 |
sub MY::postamble { |
| 61 |
- |
|
|