Skip to content

Commit 726794f

Browse files
committed
fix termux build
1 parent 90fca71 commit 726794f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ if(UNIX OR MINGW)
5454
endif()
5555
endif()
5656
if((UNIX AND BUILD64) OR (MINGW AND CMAKE_SIZEOF_VOID_P EQUAL 8))
57-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
58-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
57+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ")
58+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ")
5959
else()
6060
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
6161
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if(WIN32)
3333
target_link_libraries(3dstool curl crypto)
3434
endif()
3535
else()
36-
target_link_libraries(3dstool curl ssl crypto)
36+
target_link_libraries(3dstool curl ssl crypto capstone)
3737
if(APPLE)
3838
target_link_libraries(3dstool ldap)
3939
else()

src/code.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define CODE_H_
33

44
#include "utility.h"
5-
#include <capstone.h>
5+
#include <capstone/capstone.h>
66

77
class CCode
88
{

0 commit comments

Comments
 (0)