termux-packages/packages/nim/config-nim.cfg
Leonid Pliushch 1bd2dd3a29 nim: fix compatibility with Termux
Enables linking with libandroid-glob.

Fixes https://github.com/termux/termux-packages/issues/5904.
2020-10-11 22:45:22 +03:00

20 lines
554 B
INI

diff -uNr nim-1.2.6/config/nim.cfg nim-1.2.6.mod/config/nim.cfg
--- nim-1.2.6/config/nim.cfg 2020-07-29 15:16:33.000000000 +0300
+++ nim-1.2.6.mod/config/nim.cfg 2020-10-11 22:43:50.962181942 +0300
@@ -136,13 +136,13 @@
@if android:
cc = clang
- @if termux:
+# @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"
- @end
+# @end
@end
@if nintendoswitch: