File signal-desktop-better-sqlite3-openssl.patch of Package signal-desktop
Index: Signal-Desktop-5.40.1/node_modules/better-sqlite3/deps/sqlite3.gyp
===================================================================
--- Signal-Desktop-5.40.1.orig/node_modules/better-sqlite3/deps/sqlite3.gyp 2022-04-26 19:46:05.726776422 +0200
+++ Signal-Desktop-5.40.1/node_modules/better-sqlite3/deps/sqlite3.gyp 2022-04-26 19:46:59.242083847 +0200
@@ -56,12 +56,10 @@
'sources': ['<(SHARED_INTERMEDIATE_DIR)/sqlite3/sqlite3.c'],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/',
- '<(SHARED_INTERMEDIATE_DIR)/sqlite3/openssl-include',
],
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/sqlite3/',
- '<(SHARED_INTERMEDIATE_DIR)/sqlite3/openssl-include',
],
},
'cflags': ['-std=c99', '-w'],
@@ -90,16 +88,14 @@
'OS == "mac"', {
'link_settings': {
'libraries': [
- # This statically links libcrypto, whereas -lcrypto would dynamically link it
- '<(SHARED_INTERMEDIATE_DIR)/sqlite3/OpenSSL-mac-<(target_arch)/libcrypto.a'
+ '-lcrypto'
]
}
},
{ # Linux
'link_settings': {
'libraries': [
- # This statically links libcrypto, whereas -lcrypto would dynamically link it
- '<(SHARED_INTERMEDIATE_DIR)/sqlite3/OpenSSL-linux-<(target_arch)/libcrypto.a'
+ '-lcrypto'
]
}
}],