diff options
-rw-r--r-- | config/nim.cfg | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 821b16049..7ac87cc33 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -90,14 +90,16 @@ path="$lib/pure" @end @end -@if android and termux: +@if android: cc = clang - gcc.options.linker = "-landroid-glob" - gcc.cpp.options.linker = "-landroid-glob" - clang.options.linker = "-landroid-glob" - clang.cpp.options.linker = "-landroid-glob" - tcc.options.linker = "-landroid-glob" - define:"useShPath:/system/bin/sh" + @if termux: + gcc.options.linker = "-landroid-glob" + gcc.cpp.options.linker = "-landroid-glob" + clang.options.linker = "-landroid-glob" + clang.cpp.options.linker = "-landroid-glob" + tcc.options.linker = "-landroid-glob" + define:"useShPath:/system/bin/sh" + @end @end # Configuration for the Intel C/C++ compiler: |