Linking res_featutes in main

Hi All,
Pls help me in solving a linking issue. My intension is to set “res_features.so” in “AST_LIBS” variable of asterisk/main/Makefile. Simple shared library linking is not working as the .so is generated without leading “lib” text (not as libres_features.so).
In other words,
“AST_LIBS+=-L./…/res -lres_features” in main sub modules Makefile giving linking error.

Thanks in advance,
/dan

Cud get rid of this problem by linking the object files instaed of library.

Cheers!!!