Skip to content

Commit

Permalink
Merge pull request #376 from tonlabs/update-podspec-for-rn66
Browse files Browse the repository at this point in the history
Update JSI client podspec for RN greater than 0.66
  • Loading branch information
d3p authored Mar 14, 2022
2 parents 8e575e0 + e9380cc commit 91a3cb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/lib-react-native-jsi/lib-react-native-jsi.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ end

folly_flags = "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DRNVERSION=" + react_native_version.to_s
folly_compiler_flags = folly_flags + " " + "-Wno-comma -Wno-shorten-64-to-32"
folly_version = '2021.04.26.00'
boost_compiler_flags = '-Wno-documentation'

Pod::Spec.new do |s|
s.name = "lib-react-native-jsi"
Expand All @@ -41,7 +43,7 @@ Pod::Spec.new do |s|
s.compiler_flags = folly_compiler_flags
s.xcconfig = {
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/#{folly_prefix}Folly\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"${PODS_ROOT}/Headers/Public/React-hermes\" \"${PODS_ROOT}/Headers/Public/hermes-engine\"",
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/#{folly_prefix}Folly\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"${PODS_ROOT}/Headers/Public/React-hermes\" \"${PODS_ROOT}/Headers/Public/hermes-engine\"",
"OTHER_CFLAGS" => "$(inherited)" + " " + folly_flags
}
s.requires_arc = true
Expand Down

0 comments on commit 91a3cb0

Please sign in to comment.