Ethereal-dev: Re: [Ethereal-dev] Windows only builds plugins if ENABLE_LIBETHEREALdefined

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 28 May 2005 01:24:41 -0700
Lars Roland wrote:

Anyhow the option ENABLE_LIBETHEREAL shouldn't be removed as there are
people building ethereal without plugins and those might want to have this
choice.

Yes, you can probably build a statically-linked Ethereal on Windows, but it wouldn't be able to load plugins. We might want to see if we can set up the Makefile.nmake files so that the plugins aren't built if ENABLE_LIBETHEREAL isn't defined.

I'm not sure statically-linked programs on UN*Xes can load code at run time, and thus load plugins, either - completely statically-linked programs tend not to load the run-time linker. libtool *might* play some games to link the plugins in the Ethereal source tree with the binder, but I'm not sure that works with GLib's run-time-linking code.