Makefile: use ant -S only if this is supported
This commit is contained in:
parent
e8027678e1
commit
3990c90938
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -64,7 +64,7 @@ LIBLINPHONE_EXTENDED_SRC_FILES=
|
|||
LIBLINPHONE_EXTENDED_C_INCLUDES=
|
||||
LIBLINPHONE_EXTENDED_CFLAGS=
|
||||
APP_STL=stlport_static
|
||||
ANT_SILENT=1
|
||||
ANT_SILENT=$(shell ant -h | grep -q -- -S && echo 1 || echo 0)
|
||||
|
||||
# Checks
|
||||
CHECK_MSG=$(shell ./check_tools.sh)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SDK_PATH=$(shell dirname `which android`)
|
||||
SDK_PLATFORM_TOOLS_PATH=$(shell dirname `which adb`)
|
||||
ANT_SILENT=1
|
||||
ANT_SILENT=$(shell ant -h | grep -q -- -S && echo 1 || echo 0)
|
||||
|
||||
ifeq ($(ANT_SILENT), 1)
|
||||
ANT=ant -e -S
|
||||
|
|
Loading…
Reference in a new issue