mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Improve Android Makefile to include check_tools.mk only when it's ready
This commit is contained in:
parent
67d054f321
commit
ca2eb44e26
1 changed files with 8 additions and 7 deletions
15
Makefile
15
Makefile
|
|
@ -66,15 +66,16 @@ APP_STL=stlport_static
|
|||
|
||||
# Checks
|
||||
CHECK_MSG=$(shell ./check_tools.sh)
|
||||
ifeq ($(BUILD_OPENH264),1)
|
||||
ifneq ($(shell echo $(NDK_MAJOR_VERSION)\>=10 | bc),1)
|
||||
$(error ndk version [$(NDK_MAJOR_VERSION)] not compatible with opensh264.)
|
||||
endif
|
||||
endif
|
||||
include check_tools.mk
|
||||
|
||||
ifneq ($(CHECK_MSG),)
|
||||
$(error Some tools are missing.)
|
||||
$(error Some tools are missing.)
|
||||
else
|
||||
ifeq ($(BUILD_OPENH264),1)
|
||||
ifneq ($(shell echo $(NDK_MAJOR_VERSION)\>=10 | bc),1)
|
||||
$(error ndk version [$(NDK_MAJOR_VERSION)] not compatible with openh264.)
|
||||
endif
|
||||
endif
|
||||
include check_tools.mk
|
||||
endif
|
||||
|
||||
OPENSSL_DIR=$(shell openssl version -d | sed "s/OPENSSLDIR: \"\(.*\)\"/\1/")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue