2

I have a userspace driver that gets picked up by a daemon. The daemon looks for userspace drivers in a specific directory (system/foobar/drivers). How can i tell Android.mk to install the shared library into system/foobar/drivers instead of system/lib.

1
  • +1 for nice question. but i dont think that its possible to assign system/foobar/drivers as output folder. so either you have to copy manually, this shared lib. to above mentioned location or change the path where daemon is looking for to system/lib.
    – N-JOY
    Dec 5, 2011 at 6:40

1 Answer 1

0

This has no clean solution . You can try setting LD_Library_Path but it gets overlooked. A twisted solution http://www.koushikdutta.com/2009/05/androids-linker-makes-baby-jesus-cry.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.