mirror of
https://github.com/libretro/libretro-super
synced 2025-03-13 01:14:55 +00:00
Strip android cmake output
This checks for the STRIPPATH varible in the android path. Only setting that variable for the android cmake targets. JNI outputs already stripped shared objects.
This commit is contained in:
parent
2ff2d2dd0a
commit
61b11b9431
@ -396,6 +396,8 @@ build_libretro_generic_makefile() {
|
||||
|
||||
if [ "${PLATFORM}" = "windows" ] || [ "${PLATFORM}" = "unix" ]; then
|
||||
${STRIP:=strip} -s ${OUT}/${CORENAM}
|
||||
elif [ "${PLATFORM}" = "android" -a ! -z "${STRIPPATH+x}" ]; then
|
||||
${NDK_ROOT}/${STRIPPATH} -s ${OUT}/${CORENAM}
|
||||
fi
|
||||
|
||||
echo "COPY CMD: cp -v ${OUT}/${ORIGNAM} ${OUTPUT}" 2>&1 | tee -a "$LOGFILE"
|
||||
|
@ -14,3 +14,4 @@ CORE_JOB YES
|
||||
ABI_OVERRIDE arm64-v8a
|
||||
API_LEVEL 21
|
||||
CMAKE cmake
|
||||
STRIPPATH toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip
|
||||
|
@ -14,3 +14,4 @@ CORE_JOB YES
|
||||
ABI_OVERRIDE armeabi-v7a
|
||||
API_LEVEL 9
|
||||
CMAKE cmake
|
||||
STRIPPATH toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
|
||||
|
@ -14,3 +14,4 @@ CORE_JOB YES
|
||||
ABI_OVERRIDE x86
|
||||
API_LEVEL 9
|
||||
CMAKE cmake
|
||||
STRIPPATH toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-strip
|
||||
|
Loading…
x
Reference in New Issue
Block a user