mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-24 21:39:54 +00:00
Preliminary work for linking OpenSSL statically into realm.node
This commit is contained in:
parent
00c0bc33d0
commit
e8dacb9f22
@ -57,7 +57,10 @@
|
||||
"type": "none",
|
||||
"dependencies": [ "realm-core" ],
|
||||
"direct_dependent_settings": {
|
||||
"libraries": [ "-lrealm-sync-node<(debug_library_suffix)" ]
|
||||
# openssl version 1.0.2 works.
|
||||
# We need to link statically against the archives lissl.a libcrypto.a built with -fPIC.
|
||||
# Replace OPENSSL_LOCATION with the right location.
|
||||
"libraries": [ "-lrealm-sync-node<(debug_library_suffix) OPENSSL_LOCATION/libssl.a OPENSSL_LOCATION/libcrypto.a" ]
|
||||
},
|
||||
"all_dependent_settings": {
|
||||
"defines": [ "REALM_ENABLE_SYNC=1" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user