mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
android: Fix build with r18b by linking libc++_shared
This commit is contained in:
parent
421f21adb1
commit
0b116cc2be
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
1
webrtc/android/app/src/main/jni/dummy.cpp
Normal file
1
webrtc/android/app/src/main/jni/dummy.cpp
Normal file
|
@ -0,0 +1 @@
|
|||
/* This is needed purely to force linking libc++_shared */
|
Loading…
Reference in a new issue