1. Check out our app, Forums for Android! Download and leave feedback here!

Include Prebuilt library to the main build (from complete source)

Discussion in 'Application Development' started by tonysonney, Dec 16, 2009.

  1. tonysonney

    tonysonney Member
    Thread Starter
    5

    Oct 20, 2009
    7
    0
    5
    Hi all,
    I am building android from source (complete) source. I would like to include a pre-built library mylib.so into the build system. How do I do it? I tried using
    Code (Text):
    1. LOCAL_SHARED_LIBRARIES += mylib.so
    But it fails saying no rule to build mylib.so . I found out it will try to modify mylib.so to add dependency.

    I tried using
    Code (Text):
    1. LOCAL_LDLIBS += mylib.so
    . But I seriously doubt whether it is really including the library. I get error messages complaining the functions defined in mylib.so as missing.

    Any help is really appreciated. Please let me know how can I include the library?

    Thanks,
    Tony
     

    Advertisement

Share This Page

Loading...