First of all, I am using Codelite Rev:5617 build from svn on a fedora 17 machine.
I am trying to make a static library libHasp.a. I have create a project with type "Static Library". In the "Common settings->Linker->Libraries" I have put two other libs (e.g. hasp1.a and hasp2.a) that my library uses And I would like to link them also statically with my library.
My problem is that the created lib (libHasp.a) does not include the other two libs. The build output looks like:
Code: Select all
make[1]: Entering directory `/home/trfillos/codeliteWorkspace/libHasp/libHasp'
g++ -c "/home/trfillos/codeliteWorkspace/libHasp/libHasp/libHasp.cpp" -g -Wall -o ./Debug/libHasp.o -I. -I.
/home/trfillos/codeliteWorkspace/libHasp/libHasp/libHasp.cpp:31:20: warning: ‘hasp_info’ defined but not used [-Wunused-variable]
ar rcus ./Debug/libHasp.a @"/home/trfillos/codeliteWorkspace/libHasp/libHasp/libHasp.txt"
make[1]: Leaving directory `/home/trfillos/codeliteWorkspace/libHasp/libHasp'
Please I would like your help to make these two libs link statically with my lib.
Thank you very much for your time.
Regards,
Triantafillos