summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlex Dizengof <alex@ireporty.com>2015-11-07 18:09:34 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-11-07 19:24:17 +0100
commit41d1dfcfc89e96f1f7c14319a889e55c5fa14ca2 (patch)
tree9eb49427616edd57af37e386ac9af52e4db62395 /data
parentcca6f3f6a373f726103e71c628ecea82715a0ec4 (diff)
android: Add SONAME to libgstreamer_android.so for compatibility with Android >= 6.0
Due to the latest changes in Android 6.0 runtime (http://developer.android.com/intl/ko/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime) Each module should explicitly define it's SONAME. since the building scripts for building android_gstreamer.so doesn't define soname the library is built without one. This will cause a failure in loading any library that uses libgstreamer_android.so. https://bugzilla.gnome.org/show_bug.cgi?id=757732
Diffstat (limited to 'data')
-rwxr-xr-xdata/ndk-build/gstreamer-1.0.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk
index 6d0efc45..1b434300 100755
--- a/data/ndk-build/gstreamer-1.0.mk
+++ b/data/ndk-build/gstreamer-1.0.mk
@@ -88,7 +88,7 @@ GSTREAMER_ANDROID_SO := $(GSTREAMER_BUILD_DIR)/lib$(GSTREAMER_ANDROID_M
GSTREAMER_ANDROID_C := $(GSTREAMER_BUILD_DIR)/$(GSTREAMER_ANDROID_MODULE_NAME).c
GSTREAMER_ANDROID_C_IN := $(GSTREAMER_NDK_BUILD_PATH)/gstreamer_android-1.0.c.in
GSTREAMER_DEPS := $(GSTREAMER_EXTRA_DEPS) gstreamer-1.0
-GSTREAMER_LD := -fuse-ld=gold
+GSTREAMER_LD := -fuse-ld=gold -Wl,-soname,libgstreamer_android.so
################################
# NDK Build Prebuilt library #