diff --git a/libtorrent/runme-android.sh b/libtorrent/runme-android.sh index 31e1b602..6d2e423e 100644 --- a/libtorrent/runme-android.sh +++ b/libtorrent/runme-android.sh @@ -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" \