On Thu, May 30, 2013 at 15:33 -0700, I wrote:

> because it feels like the right thing to do here. The alternative
> would be creating lots of *.a libraries and then linking them all in.
> That should work too, but it's not really nice.

Turns out I forgot one motivation for using object libs in the first
place: with static libraries, global objects aren't pulled in if they
aren't explicitly referenced. Plugins register themselves via ctors of
globals, which doesn't work with that model.

I've put in an option now that switches between objects libraries and
static libraries. Need to figure out if there's a way to make the
latter work.

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 *     [email protected]
ICSI/LBNL    * Fax   +1 (510) 666-2956 * www.icir.org/robin
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to