diff --git a/CMakeLists.txt b/CMakeLists.txt index a2badefe..7e932cbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,6 +206,9 @@ endif() if(ANDROID) add_definitions(-DANDROID) endif() +if(TERMUX) + add_definitions(-DTERMUX) +endif() if(BAD_SIGNAL) add_definitions(-DBAD_SIGNAL) endif() diff --git a/src/elfs/elfload_dump.c b/src/elfs/elfload_dump.c index 593e450d..1730967f 100644 --- a/src/elfs/elfload_dump.c +++ b/src/elfs/elfload_dump.c @@ -45,7 +45,7 @@ const char* DumpSection(Elf64_Shdr *s, char* SST) { GO(SHT_GNU_ATTRIBUTES); GO(SHT_GNU_HASH); GO(SHT_GNU_LIBLIST); - #ifndef ANDROID + #ifndef TERMUX GO(SHT_CHECKSUM); #endif GO(SHT_LOSUNW);