diff --git a/README.markdown b/README.markdown index f75d3b0..a6c0112 100644 --- a/README.markdown +++ b/README.markdown @@ -36,6 +36,7 @@ To use SQLite in your project, add `pod 'sqlite3'` to your Podfile. However, as - [STAT4 Enhanced ANALYZE and query planner](https://sqlite.org/compile.html#enable_stat4): `pod 'sqlite3/stat4'` - [Unlock-Notify API](https://www.sqlite.org/unlock_notify.html): `pod 'sqlite3/unlock_notify'` - [DBSTAT](https://www.sqlite.org/dbstat.html): `pod 'sqlite3/dbstatvtab'` +- [Math](https://www.sqlite.org/lang_mathfunc.html): `pod 'sqlite3/math'` ## License diff --git a/sqlite3.podspec b/sqlite3.podspec index daeba1b..d84161d 100644 --- a/sqlite3.podspec +++ b/sqlite3.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'sqlite3' - s.version = '3.46.1' + s.version = '3.46.1+1' s.license = { :type => 'Public Domain', :text => <<-LICENSE All of the code and documentation in SQLite has been dedicated to the public domain by the authors. All code authors, and representatives of the companies they work for, have signed affidavits dedicating their contributions to the public domain and originals of those signed affidavits are stored in a firesafe at the main offices of Hwaci. @@ -162,4 +162,10 @@ CMD ss.dependency 'sqlite3/common' ss.source_files = "#{archive_name}/ext/misc/spellfix.c" end + + # Math extension + s.subspec 'math' do |ss| + ss.dependency 'sqlite3/common' + ss.pod_target_xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_ENABLE_MATH_FUNCTIONS=1' } + end end