From c24007813ec6ea2b9644d4fe9723faccd858af49 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 4 Dec 2012 11:46:32 +0100 Subject: [PATCH] Do a version sort to find the android target version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28f67c96b..6df850765 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ NUMCPUS=$(shell grep -c '^processor' /proc/cpuinfo || echo "4" ) TOPDIR=$(shell pwd) PATCH_FFMPEG=$(shell cd submodules/externals/ffmpeg && git status | grep neon) LINPHONE_VERSION=$(shell cd submodules/linphone && git describe) -ANDROID_MOST_RECENT_TARGET=$(shell android list target -c | grep android | sort | tail -n1) +ANDROID_MOST_RECENT_TARGET=$(shell android list target -c | grep android | sort -V | tail -n1) BUILD_X264=0 BUILD_AMRNB=light