Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding an external static library to Trusted Application #901
Hi, I am trying to put the protobuf-c.a library into my Trusted Application. I tried this hackish way where I combined my static library with libutils.a. I also tried to add the static library independently by specifying it in ldargs-$(binary). However for both methods I got the following error:
I was wondering, if you can give me any pointers on how the static library for protobuf-c.a should be compiled or added to the build Makefile so the build for the TA works?
My make file currently looks like this:
perhaps try in ta_dev_kit.mk:
libdirs += $(ta-dev-kit-dir)/lib
Add your static library here and drop the library itself into the $(ta_dev_kit_dir)/lib. If it depends on any library such as libutils.a, make sure you add it before that.