--- boost/user-config.jam 2016-03-02 14:31:41.280414820 +0100 +++ boost-patch/user-config.jam 2016-03-02 14:32:08.904384741 +0100 @@ -6,6 +6,7 @@ local TOOLCHAIN_PREFIX = [ os.environ TOOLCHAIN_PREFIX ] ; local ARCH = [ os.environ ARCH ] ; local PYTHON_ROOT = [ os.environ PYTHON_ROOT ] ; +local OPENSSL_BUILD_PATH = [ os.environ OPENSSL_BUILD_PATH ] ; using gcc : $(ARCH) : $(TOOLCHAIN_PREFIX)-g++ : $(ARCH) @@ -20,9 +21,14 @@ -I$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/include -I$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/libs/$(ARCH)/include -I$(PYTHON_ROOT)/include/python2.7 +-I$(OPENSSL_BUILD_PATH)/include +-I$(OPENSSL_BUILD_PATH)/include/openssl --sysroot=$(ANDROIDNDK)/platforms/android-$(ANDROIDAPI)/arch-$(ARCH) -L$(ANDROIDNDK)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/libs/$(ARCH) -L$(PYTHON_ROOT)/lib +-L$(OPENSSL_BUILD_PATH) -lgnustl_shared -lpython2.7 +-lcrypto$(OPENSSL_VERSION) +-lssl$(OPENSSL_VERSION) ;