Skip to content

Commit

Permalink
Make SystemJSC on macosx actually use the system JSC framework
Browse files Browse the repository at this point in the history
Reviewed By: mzlee

Differential Revision: D10475231

fbshipit-source-id: 67f6859cf93aa4fb91c174ee222694271c0d72ed
  • Loading branch information
mhorowitz authored and facebook-github-bot committed Oct 27, 2018
1 parent 2a44054 commit 5d38264
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions ReactCommon/jsi/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,22 @@ rn_xplat_cxx_library(
exported_headers = [
"JSCRuntime.h",
],
cxx_deps = [
"xplat//jsc:jsc",
cxx_exported_platform_linker_flags = [
(
"macosx-x86_64",
[
"-framework",
"JavaScriptCore",
],
),
],
cxx_platform_deps = [
(
"^(linux|gcc|platform)",
[
"xplat//jsc:jsc",
],
),
],
fbandroid_compiler_flags = [
"-fexceptions",
Expand Down

0 comments on commit 5d38264

Please sign in to comment.