mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
extensions also need sqlite3ext.h
This commit is contained in:
parent
3be75f6838
commit
0ed20d2962
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,7 @@ sub postamble {
|
||||||
my $postamble = eval {
|
my $postamble = eval {
|
||||||
DBI::DBD::dbd_postamble(@_)
|
DBI::DBD::dbd_postamble(@_)
|
||||||
};
|
};
|
||||||
if (-e 'sqlite3.c' && -e 'sqlite3.h') {
|
if (-e 'sqlite3.c' && -e 'sqlite3.h' && -e 'sqlite3ext.h') {
|
||||||
my $S = $^O eq 'MSWin32' ? '\\' : '/'; # only Win32 (not cygwin)
|
my $S = $^O eq 'MSWin32' ? '\\' : '/'; # only Win32 (not cygwin)
|
||||||
my $share = "\$(INST_LIB)${S}auto${S}share${S}dist${S}\$(DISTNAME)";
|
my $share = "\$(INST_LIB)${S}auto${S}share${S}dist${S}\$(DISTNAME)";
|
||||||
my $perm_dir = $ExtUtils::MakeMaker::VERSION >= 6.52 ? '$(PERM_DIR)' : '755';
|
my $perm_dir = $ExtUtils::MakeMaker::VERSION >= 6.52 ? '$(PERM_DIR)' : '755';
|
||||||
|
@ -370,6 +370,7 @@ config ::
|
||||||
\t\$(NOECHO) \$(CHMOD) $perm_dir "$share"
|
\t\$(NOECHO) \$(CHMOD) $perm_dir "$share"
|
||||||
\t\$(NOECHO) \$(CP) "sqlite3.c" "$share${S}sqlite3.c"
|
\t\$(NOECHO) \$(CP) "sqlite3.c" "$share${S}sqlite3.c"
|
||||||
\t\$(NOECHO) \$(CP) "sqlite3.h" "$share${S}sqlite3.h"
|
\t\$(NOECHO) \$(CP) "sqlite3.h" "$share${S}sqlite3.h"
|
||||||
|
\t\$(NOECHO) \$(CP) "sqlite3ext.h" "$share${S}sqlite3ext.h"
|
||||||
SHARE
|
SHARE
|
||||||
}
|
}
|
||||||
return $postamble;
|
return $postamble;
|
||||||
|
|
Loading…
Add table
Reference in a new issue