Skip to content

Commit

Permalink
build: needs CoreFoundation instead of Foundation (#6829)
Browse files Browse the repository at this point in the history
Signed-off-by: Élie BRAMI <cadeaudeelie@gmail.com>
  • Loading branch information
Et7f3 committed Jan 4, 2023
1 parent 1489c57 commit cde7139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boot/libs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ let local_libraries =
let link_flags =
[ ("macosx",
[ "-cclib"
; "-framework Foundation"
; "-framework CoreFoundation"
; "-cclib"
; "-framework CoreServices"
])
Expand Down
2 changes: 1 addition & 1 deletion src/dune_rules/bootstrap_info.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let rule sctx compile (exes : Dune_file.Executables.t) () =
(* additional link flags keyed by the platform *)
[ ( "macosx"
, [ "-cclib"
; "-framework Foundation"
; "-framework CoreFoundation"
; "-cclib"
; "-framework CoreServices"
] )
Expand Down
2 changes: 1 addition & 1 deletion src/fsevents/flags/gen_flags.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let () =
if Sys.argv.(1) = "macosx" then
Printf.printf
{|(-cclib "-framework Foundation" -cclib "-framework CoreServices")|}
{|(-cclib "-framework CoreFoundation" -cclib "-framework CoreServices")|}
else print_string "()"

0 comments on commit cde7139

Please sign in to comment.