Preliminary work for linking OpenSSL statically into realm.node

This commit is contained in:
Morten Krogh 2017-10-13 15:01:10 +02:00
parent 00c0bc33d0
commit e8dacb9f22

View File

@ -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" ]