Ignore:
Timestamp:
Aug 8, 2012 9:06:23 AM (12 years ago)
Author:
ming
Message:

Re #1516: Fixed compatibility problem with configure script on Ubuntu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/android/configure-android

    r4221 r4222  
    6363    fi 
    6464  done 
    65   export CFLAGS+="${NDK_CFLAGS}" 
     65  export CFLAGS="${CFLAGS} ${NDK_CFLAGS}" 
    6666fi 
    6767 
     
    8888export CXX="${ANDROID_TC}/bin/${TARGET_HOST}-g++" 
    8989 
    90 export LDFLAGS+=" -nostdlib -L${ANDROID_SYSROOT}/usr/lib/" 
    91 export LIBS+=" -lc -lgcc" 
    92 export CFLAGS+=" -I${ANDROID_SYSROOT}/usr/include" 
     90export LDFLAGS="${LDFLAGS} -nostdlib -L${ANDROID_SYSROOT}/usr/lib/" 
     91export LIBS="${LIBS} -lc -lgcc" 
     92export CFLAGS="${CFLAGS} -I${ANDROID_SYSROOT}/usr/include" 
    9393export CPPFLAGS="${CFLAGS}" 
    94 export CXXFLAGS+=" -shared --sysroot=${ANDROID_SYSROOT}" 
     94export CXXFLAGS="${CXXFLAGS} -shared --sysroot=${ANDROID_SYSROOT}" 
    9595 
    9696# Print settings 
Note: See TracChangeset for help on using the changeset viewer.