Skip to content

Commit

Permalink
-stdlib=libc++ flag added for Darwin target. It fixes MACOS Mojave bu…
Browse files Browse the repository at this point in the history
…ild.
  • Loading branch information
rodiazet committed Feb 11, 2019
1 parent 3585ada commit 86276b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%% actually running.
case os:type() of
{unix,darwin} ->
Opt = " -mmacosx-version-min=10.8",
Opt = " -mmacosx-version-min=10.8 -stdlib=libc++",
[Mjr|_] = string:tokens(os:cmd("/usr/bin/uname -r"), "."),
Major = list_to_integer(Mjr),
if
Expand Down

0 comments on commit 86276b5

Please sign in to comment.