1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

makefile: Support mode Android versions when termux is used

This commit is contained in:
Mark Pizzolato
2018-05-09 10:39:10 -07:00
parent 914d79c980
commit 39802c465a
3 changed files with 5 additions and 5 deletions

View File

@@ -287,11 +287,11 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
endif
else
ifeq (Linux,$(OSTYPE))
ifeq (Android,$(shell uname -o))
OS_CCDEFS += -D__ANDROID_API__=$(shell getprop ro.build.version.sdk)
endif
ifneq (lib,$(findstring lib,$(UNSUPPORTED_BUILD)))
ifneq (,$(shell if $(TEST) -d /system/lib; then echo systemlib; fi))
ifneq (,$(shell uname -a | grep 'aarch64 Android'))
OS_CCDEFS += -DCANT_USE_TERMIOS_TCSAFLUSH
endif
LIBPATH += /system/lib
endif
ifneq (,$(shell if $(TEST) -d /data/data/com.termux/files/usr/lib; then echo termuxlib; fi))