aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tsoloud.nims5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tsoloud.nims b/tests/tsoloud.nims
new file mode 100644
index 0000000..3b6174b
--- /dev/null
+++ b/tests/tsoloud.nims
@@ -0,0 +1,5 @@
+# Workaround for C++ scanner.cc causing link error with other C obj files
+when defined(MacOSX):
+ switch("clang.linkerexe", "g++")
+else:
+ switch("gcc.linkerexe", "g++") \ No newline at end of file