You can try the following: In build/core/multi_prebuilt.mk ...
replace the line $(eval LOCAL_MODULE := $(basename $(t))) \ with $(eval LOCAL_MODULE := $(basename $(notdir $(t)))) \ -Ravi On Mar 9, 8:32 pm, Girish <htgir...@gmail.com> wrote: > Hi, > > Facing a problem when my 3rd party .so are there in a folder other > than where my Android.mk is present.If the .so files are there in the > Android.mk then all of the .so's are getting moved to out\target > \product\generic\system\lib. and getting linked too. > > LOCAL_PATH := $(call my-dir) > > MY_LOCAL_PATH := $(LOCAL_PATH) > > LOCAL_MODULE_TAGS := MYMODULE > > include $(CLEAR_VARS) > > LOCAL_PREBUILT_LIBS := \ > mylib1.so \ > mylib2.so \ > mylib3.so \ > > include $(BUILD_MULTI_PREBUILT) > > LOCAL_PATH := $(MY_LOCAL_PATH) > > include $(CLEAR_VARS) > > other stuff ...... > ---------------------------------------------------------- > > But if i give some relative path then its not linking > > LOCAL_PATH := $(call my-dir) > > MY_LOCAL_PATH := $(LOCAL_PATH) > > LOCAL_MODULE_TAGS := MYMODULE > > include $(CLEAR_VARS) > > LOCAL_PREBUILT_LIBS := \ > source/lib/mylib1.so \ > source/lib/mylib2.so \ > source/lib/mylib3.so \ > > include $(BUILD_MULTI_PREBUILT) > > LOCAL_PATH := $(MY_LOCAL_PATH) > > include $(CLEAR_VARS) > > other stuff ...... > ------------------------------------------------------------------------ > > I am not too sure whts going wrong with this. Can any one explain ... > > Regards > Girish --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---