mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
allow compilation without network access
This commit is contained in:
parent
50469413f0
commit
0b6d1df9c9
2 changed files with 3907 additions and 3 deletions
|
|
@ -31,13 +31,22 @@ pkgconfig_DATA=linphone.pc
|
|||
|
||||
linphonedir=$(datadir)/linphone
|
||||
linphone_DATA=rootca.pem
|
||||
rootca.pem:
|
||||
HTTPS_CA_DIR=$(HTTPS_CA_DIR) $(top_srcdir)/scripts/mk-ca-bundle.pl rootca.pem
|
||||
|
||||
#download root ca from mozilla using script from curl (mk-ca-bundle.pl).
|
||||
#if that fails (no connection, no perl SSL...) , then a rootca bundle archived in the source tree is taken instead.
|
||||
rootca.pem:
|
||||
rm -f $(builddir)/fresh-rootca.pem
|
||||
- HTTPS_CA_DIR=$(HTTPS_CA_DIR) $(top_srcdir)/scripts/mk-ca-bundle.pl $(builddir)/fresh-rootca.pem
|
||||
if test -f $(builddir)/fresh-rootca.pem ; then \
|
||||
cp -f $(builddir)/fresh-rootca.pem $(builddir)/rootca.pem ; \
|
||||
else \
|
||||
cp -f $(srcdir)/archived-rootca.pem $(builddir)/rootca.pem ; \
|
||||
fi
|
||||
|
||||
EXTRA_DIST = $(LINPHONE_SOUNDS) \
|
||||
$(LINPHONE_RINGS) \
|
||||
linphone.desktop.in \
|
||||
linphone.pc.in \
|
||||
Makefile.inc \
|
||||
rootca.pem
|
||||
archived-rootca.pem
|
||||
|
||||
|
|
|
|||
3895
share/archived-rootca.pem
Normal file
3895
share/archived-rootca.pem
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue