@@ -82,7 +82,7 @@ do_download ()
82
82
CLEAN=yes
83
83
}
84
84
85
- # LIBRARIES=--with-libraries=date_time,filesystem,program_options,regex,signals,system,thread,iostreams,locale
85
+ # LIBRARIES=--with-libraries=date_time,filesystem,program_options,regex,signals,system,thread,iostreams
86
86
LIBRARIES=
87
87
register_option " --with-libraries=<list>" do_with_libraries " Comma separated list of libraries to build."
88
88
do_with_libraries () {
@@ -257,11 +257,11 @@ case "$NDK_RN" in
257
257
CXXPATH=$AndroidNDKRoot /toolchains/${TOOLCHAIN} /prebuilt/${PlatformOS} -x86_64/bin/arm-linux-androideabi-g++
258
258
TOOLSET=gcc-androidR8e
259
259
;;
260
- " 10 (64-bit)" | " 10b (64-bit) " )
260
+ " 10 (64-bit)" )
261
261
TOOLCHAIN=${TOOLCHAIN:- arm-linux-androideabi-4.6}
262
- CXXPATH=$AndroidNDKRoot /toolchains/${TOOLCHAIN} /prebuilt/${PlatformOS} -x86_64/bin/arm-linux-androideabi-g++
263
- TOOLSET=gcc-androidR8e
264
- ;;
262
+ CXXPATH=$AndroidNDKRoot /toolchains/${TOOLCHAIN} /prebuilt/${PlatformOS} -x86_64/bin/arm-linux-androideabi-g++
263
+ TOOLSET=gcc-androidR8e
264
+ ;;
265
265
* )
266
266
echo " Undefined or not supported Android NDK version!"
267
267
exit 1
301
301
if [ ! -d $PROGDIR /$BOOST_DIR ]
302
302
then
303
303
echo " Unpacking boost"
304
- if [ " $OPTION_PROGRESS " = " yes" ] ; then
304
+ if [ $OPTION_PROGRESS = " yes" ] ; then
305
305
pv $PROGDIR /$BOOST_TAR | tar xjf - -C $PROGDIR
306
306
else
307
307
tar xjf $PROGDIR /$BOOST_TAR
@@ -384,19 +384,6 @@ echo "# ---------------"
384
384
# Build boost for android
385
385
echo " Building boost for android"
386
386
(
387
-
388
- if echo $LIBRARIES | grep locale; then
389
- if [ -e libiconv-libicu-android ]; then
390
- echo " ICONV and ICU already compiled"
391
- else
392
- echo " boost_locale selected - compiling ICONV and ICU"
393
- git clone https://github.com/pelya/libiconv-libicu-android.git
394
- cd libiconv-libicu-android
395
- ./build.sh || exit 1
396
- cd ..
397
- fi
398
- fi
399
-
400
387
cd $BOOST_DIR
401
388
402
389
echo " Adding pathname: ` dirname $CXXPATH ` "
@@ -416,8 +403,6 @@ echo "Building boost for android"
416
403
link=static \
417
404
threading=multi \
418
405
--layout=versioned \
419
- -sICONV_PATH=` pwd` /../libiconv-libicu-android/armeabi \
420
- -sICU_PATH=` pwd` /../libiconv-libicu-android/armeabi \
421
406
--prefix=" ./../$BUILD_DIR /" \
422
407
$LIBRARIES \
423
408
install 2>&1 \
0 commit comments