How do you add extra library dependencies to the OF makefiles?

I have an .SO want to call from my CPP code in my OF app. I have added the SO to libs\armeabi-v7a and the associated include file. But I get “undefined reference” errors at link time. How do I add a library dependency to the OF application makefile (as it seems to just call the parent OF makefile openFrameworks\libs\openFrameworksCompiled\project\makefileCommon\

Please see static library initialization in addons/ofxAndroid/ofAndroidLib/src/cc/openframeworks/ Line#777

You may need to add your .so file to here just before loading OF:


You may need to add your own library before each loadLibrary(OF) line of this static initializer.