diff options
| author | ruki <[email protected]> | 2022-12-24 21:05:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-24 21:05:02 +0800 |
| commit | 2e5134b08e41ba3afb7975473601f4407a7334d5 (patch) | |
| tree | 797c653192e350b6cdae132023ca9ffc9e0e68c2 | |
| parent | f455e3661ce2bf48871c1ee2a6c650b785990557 (diff) | |
improve links
| -rwxr-xr-x | configure | 2 | ||||
| -rwxr-xr-x | core/src/demo/xmake.sh | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -618,8 +618,6 @@ if is_host "msys"; then _target_plat_default="mingw" elif is_host "freebsd"; then _target_plat_default="bsd" -elif test_nz "${TERMUX_ARCH}"; then - _target_plat_default="termux" fi # set the default target architecture diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh index 61141337c..2f091b6ef 100755 --- a/core/src/demo/xmake.sh +++ b/core/src/demo/xmake.sh @@ -34,7 +34,7 @@ target "demo" add_syslinks "ws2_32" "pthread" "m" elif is_plat "bsd"; then add_syslinks "pthread" "m" - elif is_plat "termux"; then + elif test_nz "${TERMUX_ARCH}"; then add_syslinks "m" "dl" else add_syslinks "pthread" "dl" "m" "c" |
