Lines 33-41
Link Here
|
33 |
use ExtUtils::MakeMaker; |
33 |
use ExtUtils::MakeMaker; |
34 |
|
34 |
|
35 |
# determine source directory |
35 |
# determine source directory |
36 |
my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.la$//; $d } |
36 |
my ($srcdir) = map { my $d = $_; $d =~ s/\/libossp-uuid\.la$//; $d } |
37 |
grep { -f $_ } ("../libuuid.la", glob("../*/libuuid.la")) |
37 |
grep { -f $_ } ("../libossp-uuid.la", glob("../*/libossp-uuid.la")) |
38 |
or die "no source directory found (where libuuid.la is located)"; |
38 |
or die "no source directory found (where libossp-uuid.la is located)"; |
39 |
|
39 |
|
40 |
# determine extra build options |
40 |
# determine extra build options |
41 |
my $compat = 0; |
41 |
my $compat = 0; |
Lines 47-53
Link Here
|
47 |
VERSION_FROM => 'uuid.pm', |
47 |
VERSION_FROM => 'uuid.pm', |
48 |
ABSTRACT_FROM => 'uuid.pod', |
48 |
ABSTRACT_FROM => 'uuid.pod', |
49 |
PREREQ_PM => {}, |
49 |
PREREQ_PM => {}, |
50 |
LIBS => [ "-L$srcdir/.libs -L$srcdir -luuid" ], |
50 |
LIBS => [ "-L$srcdir/.libs -L$srcdir -lossp-uuid" ], |
51 |
DEFINE => '', |
51 |
DEFINE => '', |
52 |
INC => "-I. -I$srcdir", |
52 |
INC => "-I. -I$srcdir", |
53 |
PM => { 'uuid.pm' => '$(INST_LIBDIR)/uuid.pm', |
53 |
PM => { 'uuid.pm' => '$(INST_LIBDIR)/uuid.pm', |