Commit a92d9099 authored by Simon Morlat's avatar Simon Morlat

Fix for: mediastreamer2 doesn't use polarssl on android

parent 73338e9d
...@@ -135,7 +135,7 @@ endif ...@@ -135,7 +135,7 @@ endif
LOCAL_STATIC_LIBRARIES += polarssl LOCAL_STATIC_LIBRARIES += polarssl
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../../externals/polarssl/include LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../../externals/polarssl/include
LOCAL_CFLAGS += -DHAVE_POLARSSL=1 LOCAL_CFLAGS += -DHAVE_POLARSSL_SSL_H=1
ifeq ($(_BUILD_VIDEO),1) ifeq ($(_BUILD_VIDEO),1)
LOCAL_SRC_FILES += \ LOCAL_SRC_FILES += \
......
...@@ -1110,7 +1110,7 @@ AC_CHECK_HEADERS(polarssl/ssl.h, [ ...@@ -1110,7 +1110,7 @@ AC_CHECK_HEADERS(polarssl/ssl.h, [
[found_polarssl=yes; AC_MSG_NOTICE([polarssl usable])], [found_polarssl=yes; AC_MSG_NOTICE([polarssl usable])],
[POLARSSL_CFLAGS="" [POLARSSL_CFLAGS=""
POLARSSL_LIBS="" POLARSSL_LIBS=""
AC_MSG_WARN([polarssl not usable])]) AC_MSG_ERROR([polarssl headers found but library not found !])])
],[POLARSSL_CFLAGS="" ],[POLARSSL_CFLAGS=""
POLARSSL_LIBS=""]) POLARSSL_LIBS=""])
CPPFLAGS=$CPPFLAGS_save CPPFLAGS=$CPPFLAGS_save
......
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