From e4e4931432fbc81b1ced68b351691228fae31d36 Mon Sep 17 00:00:00 2001 From: Euan Date: Tue, 28 Jul 2020 17:01:25 +0100 Subject: [PATCH] Change clibdir and cincludes for NetBSD (#15102) --- config/nim.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/nim.cfg b/config/nim.cfg index d8d3d4f8b1..a33a2f0a9f 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -212,6 +212,14 @@ clang.objc.options.linker = "-lobjc -lgnustep-base" clibdir: "/usr/local/lib" @end +@if freebsd or openbsd: + cincludes: "/usr/local/include" + clibdir: "/usr/local/lib" +@elif netbsd: + cincludes: "/usr/pkg/include" + clibdir: "/usr/pkg/lib" +@end + # Configuration for the VxWorks # This has been tested with VxWorks 6.9 only @if vxworks: @@ -350,4 +358,4 @@ tcc.options.always = "-w" gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -s" clang.options.linker %= "${clang.options.linker} -s" clang.cpp.options.linker %= "${clang.cpp.options.linker} -s" -@end \ No newline at end of file +@end