Use SQLCIPHER_CRYPTO_CC on macOS

This commit is contained in:
Fedor Indutny 2024-10-16 09:29:16 -07:00
parent 01d99874a6
commit f66b8c6dd1

4
deps/sqlite3.gyp vendored
View File

@ -93,10 +93,12 @@
}
},
'OS == "mac"', {
'defines': [
'SQLCIPHER_CRYPTO_CC',
],
'link_settings': {
'libraries': [
# This statically links libcrypto, whereas -lcrypto would dynamically link it
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/OpenSSL-mac-<(target_arch)/libcrypto.a',
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/signal-tokenizer/>(rust_arch)-apple-darwin/libsignal_tokenizer.a',
]
}