Skip to content

Commit

Permalink
Use proper include path when building for android
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed May 9, 2018
1 parent 79481be commit 0226f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ R2A_DIR=$(R2A_ROOT)/data/data/com.termux/files/usr

android-arm64: radare2-android-arm64-libs
$(MAKE) frida_os=android frida_arch=arm64 CC=ndk-gcc CXX=ndk-g++ \
CFLAGS="-I$(R2A_DIR)/include $(CFLAGS)" \
CFLAGS="-I$(R2A_DIR)/include/libr $(CFLAGS)" \
LDFLAGS="-L$(R2A_DIR)/lib $(LDFLAGS)" SO_EXT=so

radare2-android-arm-libs:
Expand All @@ -192,7 +192,7 @@ radare2-android-arm-libs:

android-arm: radare2-android-arm-libs
$(MAKE) frida_os=android frida_arch=arm CC=ndk-gcc CXX=ndk-g++ \
CFLAGS="-I$(R2A_DIR)/include $(CFLAGS)" \
CFLAGS="-I$(R2A_DIR)/include/libr $(CFLAGS)" \
LDFLAGS="-L$(R2A_DIR)/lib $(LDFLAGS)" SO_EXT=so

clean:
Expand Down

0 comments on commit 0226f10

Please sign in to comment.