Skip to content

Commit 531bb86

Browse files
committed
added Devel::PPPort and generate ppport.h
1 parent 80250e1 commit 531bb86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Build.PL

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ my $build = Crypt::Cryptoki::Build->new(
3030
'ExtUtils::CBuilder' => 0,
3131
'ExtUtils::Constant' => 0,
3232
'ExtUtils::ParseXS' => 0,
33+
'Devel::PPPort' => 0,
3334
},
3435
test_requires => {
3536
'Crypt::OpenSSL::Bignum' => 0,
@@ -134,7 +135,8 @@ require ExtUtils::Constant;
134135
XS_FILE => 'src/const-xs.inc',
135136
);
136137

137-
138+
require Devel::PPPort;
139+
Devel::PPPort::WriteFile('include/ppport.h');
138140

139141
$build->create_build_script;
140142

0 commit comments

Comments
 (0)