Changeset 5126 for pjproject/trunk
- Timestamp:
- Jul 6, 2015 7:33:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/configure-android
r5006 r5126 59 59 fi 60 60 61 if test "$TARGET_ABI" = "x86_64" || test "$TARGET_ABI" = "mips64"; then 62 USR_LIB="/usr/lib64" 63 else 64 USR_LIB="/usr/lib" 65 fi 66 61 67 if test "$1" = "--use-ndk-cflags"; then 62 68 shift … … 100 106 export RANLIB=`echo ${NDK_CXX}|sed 's/-g++/-ranlib/'`; 101 107 102 export LDFLAGS="${LDFLAGS} -nostdlib -L${ANDROID_SYSROOT} /usr/lib/"108 export LDFLAGS="${LDFLAGS} -nostdlib -L${ANDROID_SYSROOT}${USR_LIB}" 103 109 export LIBS="${LIBS} -lc -lgcc -ldl" 104 110 export CFLAGS="${NDK_CFLAGS} ${CFLAGS}" … … 126 132 export RANLIB="${ANDROID_TC}/bin/${TARGET_HOST}-ranlib" 127 133 128 export LDFLAGS="${LDFLAGS} -nostdlib -L${ANDROID_SYSROOT} /usr/lib/"134 export LDFLAGS="${LDFLAGS} -nostdlib -L${ANDROID_SYSROOT}${USR_LIB}" 129 135 export LIBS="${LIBS} -lc -lgcc" 130 136 export CFLAGS="${CFLAGS} -I${ANDROID_SYSROOT}/usr/include" … … 140 146 STDCPP_TC_VER=`ls -d ${ANDROID_NDK_ROOT}/sources/cxx-stl/gnu-libstdc++/[0-9]* | sort -gr | head -1` 141 147 STDCPP_CFLAGS="-I${STDCPP_TC_VER}/include -I${STDCPP_TC_VER}/libs/${TARGET_ABI}/include" 142 STDCPP_LIBS="${ANDROID_SYSROOT} /usr/lib/crtbegin_so.o -lgnustl_static"148 STDCPP_LIBS="${ANDROID_SYSROOT}${USR_LIB}/crtbegin_so.o -lgnustl_static" 143 149 STDCPP_LDFLAGS="-L${STDCPP_TC_VER}/libs/${TARGET_ABI}/" 144 150
Note: See TracChangeset
for help on using the changeset viewer.