mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
Tweak
This commit is contained in:
parent
009ac8094a
commit
9551452076
1 changed files with 8 additions and 4 deletions
12
Makefile.PL
12
Makefile.PL
|
@ -150,14 +150,14 @@ WriteMakefile(
|
||||||
'DBI' => 1.21,
|
'DBI' => 1.21,
|
||||||
'Test::More' => '0.42',
|
'Test::More' => '0.42',
|
||||||
},
|
},
|
||||||
($ExtUtils::MakeMaker::VERSION ge '6.46'? (
|
( $ExtUtils::MakeMaker::VERSION ge '6.46'? (
|
||||||
'LICENSE' => 'perl',
|
'LICENSE' => 'perl',
|
||||||
'META_MERGE' => {
|
'META_MERGE' => {
|
||||||
'configure_requires' => {
|
'configure_requires' => {
|
||||||
DBI => 1.21,
|
DBI => 1.21,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
) : ()),
|
) : () ),
|
||||||
OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ),
|
OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ),
|
||||||
OPTIMIZE => '-O2',
|
OPTIMIZE => '-O2',
|
||||||
clean => {
|
clean => {
|
||||||
|
@ -167,7 +167,9 @@ WriteMakefile(
|
||||||
EXE_FILES => [],
|
EXE_FILES => [],
|
||||||
INC => join( ' ', @CC_INC ),
|
INC => join( ' ', @CC_INC ),
|
||||||
DEFINE => join( ' ', @CC_DEFINE ),
|
DEFINE => join( ' ', @CC_DEFINE ),
|
||||||
( @CC_LIBS ? ( LIBS => join( ' ', @CC_LIBS ) ) : () ),
|
( @CC_LIBS ? (
|
||||||
|
LIBS => join( ' ', @CC_LIBS )
|
||||||
|
) : () ),
|
||||||
);
|
);
|
||||||
|
|
||||||
package MY;
|
package MY;
|
||||||
|
@ -175,7 +177,9 @@ package MY;
|
||||||
sub postamble {
|
sub postamble {
|
||||||
require DBI;
|
require DBI;
|
||||||
require DBI::DBD;
|
require DBI::DBD;
|
||||||
eval { DBI::DBD::dbd_postamble(@_) };
|
eval {
|
||||||
|
DBI::DBD::dbd_postamble(@_)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
sub libscan {
|
sub libscan {
|
||||||
|
|
Loading…
Add table
Reference in a new issue