mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Fix Podspec
This commit is contained in:
1 parent
64df5c6b41
commit
7c8b48e08a
1 file changed
+4
-4
+4
-4
@@ -15,18 +15,18 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.module_map = 'Support/module.modulemap'
|
||||
s.framework = 'Foundation'
|
||||
s.library = 'sqlite3'
|
||||
s.default_subspec = 'standard'
|
||||
s.default_subspec = 'default'
|
||||
|
||||
s.subspec 'standard' do |ss|
|
||||
s.subspec 'default' do |ss|
|
||||
ss.source_files = 'GRDB/**/*.swift', 'Support/*.{c,h}'
|
||||
ss.library = 'sqlite3'
|
||||
end
|
||||
|
||||
s.subspec 'SQLCipher' do |ss|
|
||||
ss.source_files = 'GRDB/**/*.swift', 'Support/*.{c,h}'
|
||||
ss.exclude_files = 'Support/sqlite3.h'
|
||||
ss.xcconfig = {
|
||||
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DUSING_BUILTIN_SQLITE -DUSING_SQLCIPHER',
|
||||
'OTHER_SWIFT_FLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DUSING_SQLCIPHER',
|
||||
'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC',
|
||||
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user