mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
see if SQLITE_ENABLE_FTS3_TOKENIZER environmental variable is set, for those who do need perl tokenizer
This commit is contained in:
parent
65ac52d817
commit
58ba45f179
1 changed files with 5 additions and 0 deletions
|
@ -230,6 +230,11 @@ my @CC_DEFINE = (
|
|||
'-DNDEBUG=1',
|
||||
);
|
||||
|
||||
# for upstream security concern, this should be set only if requested
|
||||
if ($ENV{SQLITE_ENABLE_FTS3_TOKENIZER}) {
|
||||
push @CC_DEFINE, '-DSQLITE_ENABLE_FTS3_TOKENIZER'; # for sqlite >= 3.11.0
|
||||
}
|
||||
|
||||
if (DEVELOPER_ONLY) {
|
||||
# for sqlite >= 3.8.8
|
||||
push @CC_DEFINE, '-DSQLITE_ENABLE_API_ARMOR';
|
||||
|
|
Loading…
Add table
Reference in a new issue