Copied from removed duplicate topic
I apologize for membership's time wasted reading the duplicates
On 1/31/2011 11:53 PM, deem wrote:
> Guys,
> Could you please help me what I'm doing wrong here?
> I have a few static libraries I need to combine into one shared with
> my own code:
To do this, you should use pre-built static libraries, instead of
trying
to concoct a set of LDLIBS flags.
See docs/PREBUILTS.html for examples.
In short, you create one LOCAL_MODULE for each static library,
pointing
at the .a file as the source. Then your final LOCAL_MODULE lists each
of those previous items in its LOCAL_STATIC_LIBRARIES list.
Also, specifically for the C++ support, you should check out:
docs/CPLUSPLUS-SUPPORT.html
in particular, selecting the correct stl implementation with the
APP_STL
flag.
--Mike