Nicolas Weeger (Laposte) wrote: > Hello. > > I think the makefiles for the plugins are kind of weird :) > > Currently the Python makefile references directly > the ../common/plugin_common.c file, so the makefile for plugin_common is > basically useless. > > Meaning when we add files to the common directory we must update the Python > makefiles, something I think is weird. > > IMO, plugin_common should generate a library, which the Python plugin links > to > during build. > > But I'm no makefile expert, so I don't want to break anything :) > > Nicolas I was one talking to Yann Chachkoff (Gros/Lauwenmark) about that, and when he was setting up the makefiles, he had some concerns about about weird things happening if you load two shared objects that contain the same instance of plugin_common linked in. I'm not really a linking expert, so I decided to leave it as I wasn't sure what the correct/safe way was to do it.
Alex Schultz _______________________________________________ crossfire mailing list crossfire@metalforge.org http://mailman.metalforge.org/mailman/listinfo/crossfire