From 86276b5b35f0124f1991bdfe900f2210aeadb243 Mon Sep 17 00:00:00 2001 From: rodiazet Date: Mon, 11 Feb 2019 19:22:05 +0100 Subject: [PATCH] -stdlib=libc++ flag added for Darwin target. It fixes MACOS Mojave build. --- rebar.config.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config.script b/rebar.config.script index 60a64b9d..9e75fbd2 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -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