Changeset 5389
- Timestamp:
- Jul 19, 2016 7:41:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/configure-android
r5213 r5389 116 116 export RANLIB=`echo ${NDK_CXX}|sed 's/-g++/-ranlib/'`; 117 117 118 export LDFLAGS="${LDFLAGS} - nostdlib -L${ANDROID_SYSROOT}${USR_LIB}"118 export LDFLAGS="${LDFLAGS} --sysroot=${ANDROID_SYSROOT}" 119 119 export LIBS="${LIBS} -lc -lgcc -ldl" 120 120 export CFLAGS="${NDK_CFLAGS} ${CFLAGS}" … … 149 149 export RANLIB="${ANDROID_TC}/bin/${TARGET_HOST}-ranlib" 150 150 151 export LDFLAGS="${LDFLAGS} - nostdlib -L${ANDROID_SYSROOT}${USR_LIB}"151 export LDFLAGS="${LDFLAGS} --sysroot=${ANDROID_SYSROOT}" 152 152 export LIBS="${LIBS} -lc -lgcc" 153 export CFLAGS="${CFLAGS} - I${ANDROID_SYSROOT}/usr/include"153 export CFLAGS="${CFLAGS} --sysroot=${ANDROID_SYSROOT}" 154 154 export CPPFLAGS="${CFLAGS} -fexceptions -frtti" 155 155 export CXXFLAGS="${CXXFLAGS} -shared --sysroot=${ANDROID_SYSROOT} -fexceptions -frtti" … … 168 168 STDCPP_TC_VER=`ls -d ${ANDROID_NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/[0-9]* | sort -gr | head -1` 169 169 STDCPP_CFLAGS="-I${STDCPP_TC_VER}/include -I${STDCPP_TC_VER}/libs/${TARGET_ABI}/include" 170 STDCPP_LIBS=" ${ANDROID_SYSROOT}${USR_LIB}/crtbegin_so.o-lgnustl_static"170 STDCPP_LIBS="-lgnustl_static" 171 171 STDCPP_LDFLAGS="-L${STDCPP_TC_VER}/libs/${TARGET_ABI}/" 172 172 173 173 # stlport 174 174 #STDCPP_CFLAGS="-I${ANDROID_NDK_ROOT}/sources/cxx-stl/stlport/stlport" 175 #STDCPP_LIBS=" ${ANDROID_SYSROOT}${USR_LIB}/crtbegin_so.o-lstlport_static -ldl"175 #STDCPP_LIBS="-lstlport_static -ldl" 176 176 #STDCPP_LDFLAGS="-L${ANDROID_NDK_ROOT}/sources/cxx-stl/stlport/libs/${TARGET_ABI}" 177 177
Note: See TracChangeset
for help on using the changeset viewer.