Changeset 1697


Ignore:
Timestamp:
Aug 5, 2012, 3:36:03 PM (8 years ago)
Author:
sam
Message:

android: explicitly load stlport_shared when initialising the native object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r1691 r1697  
    154154            ;;
    155155        android-arm)
    156             ./configure --host=arm-linux-androideabi ac_cv_exeext=.so \
    157                 CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -I$ANDROID_NDK_ROOT/sources/cxx-stl/gabi++/include -fpic -fno-exceptions -fno-rtti -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64" \
    158                 CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb" \
    159                 CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb" \
    160                 LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
     156            CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fno-exceptions -fno-rtti -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
     157            CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
     158            CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb"
     159            LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
     160            ./configure --host=arm-linux-androideabi ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LOL_LIBS="$LOL_LIBS"
    161161            # FIXME: is this needed?
    162             # android update project --path .
    163             # ndk-build
    164             # ant compile
    165             # ndk-build distclean
     162            # ant debug
     163            # ant debug install
    166164            # ant clean
    167165            ;;
Note: See TracChangeset for help on using the changeset viewer.