[Buildroot] [PATCH] New package: cJSON (v2)
Peter Korsgaard
jacmet at uclibc.org
Tue Jun 12 08:08:27 UTC 2012
>>>>> "Danomi" == Danomi Manchego <danomimanchego123 at gmail.com> writes:
Danomi> Peter,
>> I'm not sure it makes sense to build a .so of something as simple (and
>> unversioned) as this. How about just doing a static .a like ezxml?
Danomi> We use cJSON in about half a dozen apps in our project, so a
Danomi> .so seemed like the way to go. If you feel strongly about
Danomi> this, would you be open to having an option to make a shared
Danomi> object? (Maybe something like the logic in zlib.mk or qt.mk.)
cJSON is quite small, so the overhead of dynamically loading it is
probably in the same ballpark:
size cJSON.o
text data bss dec hex filename
7047 16 8 7071 1b9f cJSON.o
But ok, I don't feel strongly about it. If you prefer .so, then keep it
like that.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list