mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
repair gpl build
This commit is contained in:
parent
da017901fc
commit
46f934eaf2
1 changed files with 15 additions and 9 deletions
|
|
@ -22,7 +22,16 @@
|
|||
enable_gpl_third_parties=yes
|
||||
enable_zrtp=no
|
||||
|
||||
.NOTPARALLEL all: build warning
|
||||
ifeq ($(enable_gpl_third_parties)$(enable_zrtp),noyes)
|
||||
check_options:
|
||||
@echo "ZRTP is not available in non-gpl build."
|
||||
@exit -1
|
||||
else
|
||||
check_options:
|
||||
|
||||
endif
|
||||
|
||||
.NOTPARALLEL all: check_options build warning
|
||||
ifeq ($(enable_gpl_third_parties),yes)
|
||||
warning:
|
||||
@echo
|
||||
|
|
@ -40,18 +49,14 @@ warning:
|
|||
@echo "*****linphone SDK without GPL code ******"
|
||||
@echo "*****************************************************************"
|
||||
@echo "*****************************************************************"
|
||||
ifeq($(enable_zrtp),yes)
|
||||
@echo "ZRTP is not available in non-gpl build."
|
||||
enable_zrtp=no
|
||||
endif
|
||||
endif
|
||||
|
||||
LINPHONE_OPTIONS="enable_gpl_third_parties=$(enable_gpl_third_parties) enable_zrtp=$(enable_zrtp)"
|
||||
LINPHONE_OPTIONS=enable_gpl_third_parties=$(enable_gpl_third_parties) enable_zrtp=$(enable_zrtp)
|
||||
|
||||
build:
|
||||
make -f builder-iphone-os.mk all $(LINPHONE_OPTIONS) \
|
||||
&& make -f builder-iphone-simulator.mk all $(LINPHONE_OPTIONS) \
|
||||
&& make -f builder-iphone-os.mk host=armv7-apple-darwin all $(LINPHONE_OPTIONS) \
|
||||
make -f builder-iphone-os.mk $(LINPHONE_OPTIONS) all \
|
||||
&& make -f builder-iphone-simulator.mk $(LINPHONE_OPTIONS) all \
|
||||
&& make -f builder-iphone-os.mk host=armv7-apple-darwin $(LINPHONE_OPTIONS) all \
|
||||
&& make -f builder-iphone-os.mk delivery-sdk
|
||||
|
||||
ipa: build
|
||||
|
|
@ -73,3 +78,4 @@ veryclean:
|
|||
make -f builder-iphone-simulator.mk veryclean \
|
||||
&& make -f builder-iphone-os.mk veryclean \
|
||||
&& make -f builder-iphone-os.mk host=armv7-apple-darwin veryclean
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue