Bug 63355

Summary: GStreamer deletes gnustl_shared
Product: GStreamer SDK Reporter: LCID Fire <lcid-fire>
Component: Android SDK distributionAssignee: bugs
Status: NEEDINFO --- QA Contact:
Severity: blocker    
Priority: medium    
Version: 2012.11   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description LCID Fire 2013-04-10 06:34:06 UTC
When building with GStreamer, it deletes _gnustl_shared_ of NDK r8e.
The problem is in target `delsharedlib` in `gstreamer-prebuilt.mk`.
$(prebuilt) is set to `android-ndk/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/libgnustl_shared.so`, which then is deleted.

Replacing `$(prebuilt)` by `$(GSTREAMER_ANDROID_SO)` seems to work, though.
Comment 1 Andoni Morales Alastruey 2013-04-10 08:29:13 UTC
prebuilt is already set to $(GSTREAMER_ANDROID_SO) a few lines before already:

prebuilt := $(GSTREAMER_ANDROID_SO)

http://cgit.freedesktop.org/gstreamer-sdk/cerbero/tree/data/ndk-build/gstreamer_prebuilt.mk#n42

Can you attach a sample project that reproduces this issue?
Comment 2 LCID Fire 2013-04-10 12:39:44 UTC
From the comments in the file I don't understand what the hack with using `prebuilt` is, nor why you would use a unprefixed global variable.
I can try to create a sample project but our build setup is kind of complicated (thanks to usage of make).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.