You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz
tar xf openssl-1.1.1h.tar.gz
ln -s openssl-1.1.1h openssl
cd openssl
CC=${CROSS_PREFIX}gcc ./Configure ${CROSS_OPENSSL_TARGET} no-shared
make CC=${CROSS_PREFIX}gcc AR="${CROSS_PREFIX}ar" RANLIB="${CROSS_PREFIX}ranlib" -j8
cd ..
Build libre
git clone https://github.com/baresip/re.git
cd re
make CC=${CROSS_PREFIX}gcc ARCH=${CROSS_ARCH} SYSROOT=${CROSS_SYSROOT} HAVE_RESOLV= HAVE_LIBPTHREAD= USE_OPENSSL=1 EXTRA_CFLAGS="-D__ANDROID__ -I../openssl/include" EXTRA_LFLAGS="-L../openssl"
cd ..
Build librem
git clone https://github.com/creytiv/rem.git
cd rem
make CC=${CROSS_PREFIX}gcc ARCH=${CROSS_ARCH} SYSROOT=${CROSS_SYSROOT} HAVE_LIBPTHREAD=
cd ..
Build baresip
git clone https://github.com/baresip/baresip.git
cd baresip
make CC=${CROSS_PREFIX}gcc ARCH=${CROSS_ARCH} SYSROOT=${CROSS_SYSROOT} USE_DBUS= USE_PULSE= HAVE_LIBPTHREAD= SYSROOT_ALT=../openssl EXTRA_LFLAGS=-L../openssl