From f8af8df91c7e722b8c5034c1fe0255e3ca6b8558 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 10 May 2015 22:20:03 +0200 Subject: [PATCH] Add -ldl with clang cpp compilation This fixes compilation with --cc:clang and cpp. --- config/nim.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nim.cfg b/config/nim.cfg index fef7df79ec..0c3ffef4e1 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -78,6 +78,7 @@ path="$lib/pure/unidecode" gcc.options.linker = "-ldl" gcc.cpp.options.linker = "-ldl" clang.options.linker = "-ldl" + clang.cpp.options.linker = "-ldl" tcc.options.linker = "-ldl" @end @if bsd or haiku: