ccan: make it a grouping library.
commit8150f69dc4cf73adb6f7aebd6f06074502dfcd05
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 30 Jun 2012 07:35:38 +0000 (30 17:05 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 30 Jun 2012 09:19:03 +0000 (30 11:19 +0200)
tree35e74757891a75aa094392c340b780dea359ef07
parent5679ba10189aaa17023384be869ac600fa24a435
ccan: make it a grouping library.

Andrew Bartlett pointed out that making CCAN a non-library will break
the build in a different way in future: when two separate private
libraries start using the same CCAN module, the symbol duplicate
detection will fire (since private libaries don't use any symbol
hiding).  That doesn't happen yet, but it will surely happen
eventually.

So, for now at least, we build as a private library again.  This
unfortunately means the top-level build creates a libccan.so, which
contains all the ccan modules whether you need them or not.  Given the
size of the library, I don't think this is a win.  But it's simple.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date(master): Sat Jun 30 11:19:04 CEST 2012 on sn-devel-104
lib/ccan/wscript