Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 672 Bytes
feature (android) {
includes += $(BOOST_ANDROID_ROOT)/build/$(ANDROID_ARCH)/include
libpaths += $(BOOST_ANDROID_ROOT)/build/$(ANDROID_ARCH)/lib
verbatim (make, local, true) {
SYSROOT = $(NDK_TOOLS)/sysroot
LDLIBS = -l:libboost_system.a -llog -lc++_shared
ifeq ($(ANDROID_ARCH),arm)
CROSS_COMPILE=arm-linux-androideabi-
else ($(ANDROID_ARCH),armeabi-v7a)
CROSS_COMPILE=arm-linux-androideabi-
else ($(ANDROID_ARCH),x86)
CROSS_COMPILE=i686-linux-android-
else
CROSS_COMPILE=$(ANDROID_ARCH)-linux-android-
endif
CXX = $(NDK_TOOLS)/bin/$(CROSS_COMPILE)clang++
CC = $(NDK_TOOLS)/bin/$(CROSS_COMPILE)clang
}
}
You can’t perform that action at this time.