mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Enable ZRTP compilation by default
This commit is contained in:
parent
834ca0e371
commit
2a729b35bf
1 changed files with 10 additions and 6 deletions
|
|
@ -42,12 +42,6 @@ linphone_configure_controls= \
|
||||||
--disable-msg-storage
|
--disable-msg-storage
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(enable_zrtp),yes)
|
|
||||||
linphone_configure_controls+= --enable-zrtp
|
|
||||||
else
|
|
||||||
linphone_configure_controls+= --disable-zrtp
|
|
||||||
endif
|
|
||||||
|
|
||||||
#path
|
#path
|
||||||
BUILDER_SRC_DIR?=$(shell pwd)/../
|
BUILDER_SRC_DIR?=$(shell pwd)/../
|
||||||
ifeq ($(enable_debug),yes)
|
ifeq ($(enable_debug),yes)
|
||||||
|
|
@ -68,6 +62,7 @@ all: build-linphone build-msilbc build-msamr build-msx264 build-mssilk build-msb
|
||||||
|
|
||||||
enable_gpl_third_parties?=yes
|
enable_gpl_third_parties?=yes
|
||||||
enable_ffmpeg?=yes
|
enable_ffmpeg?=yes
|
||||||
|
enable_zrtp?=yes
|
||||||
|
|
||||||
SWITCHES:=
|
SWITCHES:=
|
||||||
|
|
||||||
|
|
@ -82,6 +77,14 @@ ifeq ($(enable_gpl_third_parties),yes)
|
||||||
SWITCHES += disable_ffmpeg
|
SWITCHES += disable_ffmpeg
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(enable_zrtp), yes)
|
||||||
|
linphone_configure_controls+= --enable-zrtp
|
||||||
|
SWITCHES += enable_zrtp
|
||||||
|
else
|
||||||
|
linphone_configure_controls+= --disable-zrtp
|
||||||
|
SWITCHES += disable_zrtp
|
||||||
|
endif
|
||||||
|
|
||||||
else # !enable gpl
|
else # !enable gpl
|
||||||
linphone_configure_controls+= --disable-ffmpeg
|
linphone_configure_controls+= --disable-ffmpeg
|
||||||
SWITCHES += disable_gpl_third_parties disable_ffmpeg
|
SWITCHES += disable_gpl_third_parties disable_ffmpeg
|
||||||
|
|
@ -91,6 +94,7 @@ SWITCHES := $(addprefix $(LINPHONE_BUILD_DIR)/,$(SWITCHES))
|
||||||
|
|
||||||
mode_switch_check: $(SWITCHES)
|
mode_switch_check: $(SWITCHES)
|
||||||
|
|
||||||
|
#generic rule to force recompilation of linphone if some options require it
|
||||||
$(LINPHONE_BUILD_DIR)/enable_% $(LINPHONE_BUILD_DIR)/disable_%:
|
$(LINPHONE_BUILD_DIR)/enable_% $(LINPHONE_BUILD_DIR)/disable_%:
|
||||||
mkdir -p $(LINPHONE_BUILD_DIR)
|
mkdir -p $(LINPHONE_BUILD_DIR)
|
||||||
cd $(LINPHONE_BUILD_DIR) && rm -f *able_$*
|
cd $(LINPHONE_BUILD_DIR) && rm -f *able_$*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue