File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/react-native-node-api-modules/android Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13)
22
33project (react-native-node-api-modules)
44set (CMAKE_CXX_STANDARD 20)
5+ # We need to disable IPO / LTO to avoid the "weak-node-api" library being optimized out of the Node-API modules.
6+ # set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)
57
68find_package (ReactAndroid REQUIRED CONFIG)
79find_package (hermes-engine REQUIRED CONFIG)
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ android {
120120
121121 packagingOptions {
122122 // TODO: I don't think this works - I needed to add this in the react-native package too.
123- doNotStrip " **/libhermes .so"
123+ // doNotStrip "**/* .so"
124124 }
125125
126126}
You can’t perform that action at this time.
0 commit comments