Commit cc45df48 authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation for iOS.

parent a0f01705
......@@ -77,6 +77,14 @@ AC_SUBST(ACLOCAL_MACOS_FLAGS)
AC_SUBST(CONSOLE_FLAGS)
AC_SUBST(GUI_FLAGS)
case $host in
*-apple-darwin*)
HTTPS_CA_DIR=`openssl version -d | sed "s/OPENSSLDIR: \"\(.*\)\"/\1/"`
;;
esac
AC_SUBST(HTTPS_CA_DIR)
dnl localization tools
IT_PROG_INTLTOOL([0.40], [no-xml])
......@@ -742,7 +750,7 @@ AC_SUBST(ORTP_LIBS)
AC_SUBST([ORTP_VERSION])
AC_SUBST([ORTP_DIR])
AC_ARG_ENABLE(tests_enabled,
AC_ARG_ENABLE(tests,
[AS_HELP_STRING([--disable-tests], [Disable compilation of tests])],
[case "${enableval}" in
yes) tests_enabled=true ;;
......
......@@ -32,7 +32,7 @@ pkgconfig_DATA=linphone.pc
linphonedir=$(datadir)/linphone
linphone_DATA=rootca.pem
rootca.pem:
$(top_srcdir)/scripts/mk-ca-bundle.pl rootca.pem
HTTPS_CA_DIR=$(HTTPS_CA_DIR) $(top_srcdir)/scripts/mk-ca-bundle.pl rootca.pem
EXTRA_DIST = $(LINPHONE_SOUNDS) \
$(LINPHONE_RINGS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment