mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Don't compile ZRTPCPP when zrtp is disabled.
This commit is contained in:
parent
de7f71a1ce
commit
bbdd908e4a
1 changed files with 9 additions and 0 deletions
|
|
@ -8,10 +8,17 @@ $(BUILDER_BUILD_DIR)/$(zrtpcpp_dir)/Makefile:
|
|||
&& cmake $(BUILDER_SRC_DIR)/$(zrtpcpp_dir) -Denable-ccrtp=false $(TC) -LH -Wdev -DCMAKE_INSTALL_PREFIX=$(prefix) -DCMAKE_FIND_ROOT_PATH="$(prefix)"
|
||||
# Used toolchain: $(TC)
|
||||
|
||||
ifeq ($(enable_zrtp),yes)
|
||||
|
||||
build-zrtpcpp: $(BUILDER_BUILD_DIR)/$(zrtpcpp_dir)/Makefile build-openssl
|
||||
echo "Build ZRTP - prefix $(prefix)"
|
||||
cd $(BUILDER_BUILD_DIR)/$(zrtpcpp_dir) && make && make install
|
||||
|
||||
else
|
||||
build-zrtpcpp:
|
||||
echo "Build of zrtpcpp disabled"
|
||||
endif
|
||||
|
||||
clean-zrtpcpp:
|
||||
-cd $(BUILDER_BUILD_DIR)/$(zrtpcpp_dir) && make clean
|
||||
|
||||
|
|
@ -20,3 +27,5 @@ clean-makefile-zrtpcpp: clean-zrtpcpp
|
|||
-rm -f $(BUILDER_BUILD_DIR)/$(zrtpcpp_dir)/CMakeCache.txt
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue