android: Fix build with r18b by linking libc++_shared

This commit is contained in:
Jan Schmidt 2019-08-05 23:21:09 +10:00 committed by Matthew Waters
parent 421f21adb1
commit 0b116cc2be
3 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := gstwebrtc
LOCAL_SRC_FILES := webrtc.c
LOCAL_SRC_FILES := webrtc.c dummy.cpp
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog -landroid
@ -44,7 +44,7 @@ GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) \
nice androidmedia
# $(GSTREAMER_PLUGINS_CODECS)
GSTREAMER_EXTRA_DEPS := gstreamer-webrtc-1.0 gstreamer-video-1.0 libsoup-2.4 json-glib-1.0 glib-2.0
GSTREAMER_EXTRA_DEPS := gstreamer-webrtc-1.0 gstreamer-sdp-1.0 gstreamer-video-1.0 libsoup-2.4 json-glib-1.0 glib-2.0
G_IO_MODULES = gnutls

View file

@ -1,3 +1,4 @@
APP_PLATFORM = 15
APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64
APP_ABI = armeabi-v7a arm64-v8a x86 x86_64
APP_STL = c++_shared
#APP_ABI = armeabi-v7a arm64-v8a x86_64

View file

@ -0,0 +1 @@
/* This is needed purely to force linking libc++_shared */