Browse Source

fix strange android compilation failure (The file boost/detail/endian.hpp needs to be set up for your CPU type)

miguelfreitas v0.9.28
Miguel Freitas 10 years ago
parent
commit
fecaa56ea1
  1. 2
      libtorrent/runme-android.sh

2
libtorrent/runme-android.sh

@ -10,7 +10,7 @@ if [ $1 == "configure" ]; then @@ -10,7 +10,7 @@ if [ $1 == "configure" ]; then
CPPFLAGS="-I$SYSROOT/usr/include/ -I$BOOSTDIR/include \
-I$NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/include \
-I$NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include \
-fexceptions -frtti" \
-fexceptions -frtti -DANDROID" \
LDFLAGS="-Wl,-rpath-link=$SYSROOT/usr/lib/ -L$SYSROOT/usr/lib/ -L$BOOSTDIR/lib \
$BOOSTDIR/lib/libboost_system-gcc-mt-1_49.a $BOOSTDIR/lib/libboost_thread-gcc-mt-1_49.a \
$NDK_BASE/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/libgnustl_static.a" \

Loading…
Cancel
Save