[Bro-Dev] Plugin branch status

Robin Sommer robin at icir.org
Thu May 30 19:21:05 PDT 2013



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 *     robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 * www.icir.org/robin


More information about the bro-dev mailing list