You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix linking the node binding on linux
It turns out that because of the way GYP invokes the GNU linker on Linux we can’t add library dependencies in the `ldflags` dict key. We needed to do that in the first place because we can’t define a `libraries` dict key inside a `configurations` dict.
The workaround is to stop relying on the `configurations` dict for setting up linking against `librealm-node-dbg.a` vs. `librealm-node.a`. Instead, this patch introduces a new environment variable - `REALMJS_USE_DEBUG_CORE`, that, when set to any value during node-gyp’s configuration phase, would instruct GYP to link against the debug realm libraries instead.
* make sure the linker flag for sync is before the one for core
Right now we only test on simulator
The text was updated successfully, but these errors were encountered: