From 8dad6c8b312b474b42fc71e4c8506b33b07b5ab0 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Wed, 21 Nov 2018 17:13:36 -0600 Subject: Mac support --- config.nims | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.nims b/config.nims index 8c8044e..32bbe5e 100644 --- a/config.nims +++ b/config.nims @@ -1 +1,4 @@ -switch("gcc.linkerexe", "g++") \ No newline at end of file +when defined(MacOSX): + switch("clang.linkerexe", "g++") +else: + switch("gcc.linkerexe", "g++") -- cgit v1.2.3