Re: [syslog-ng] [patch] fix linking issue in 3.2beta1
Le 18/10/2010 10:18, Balazs Scheidler a écrit :
Hi,
Thanks for the patch, but I it was my intent not to link the plugins against GLIB & other dependencies.
Do you have an error message that this patch actually fixes? Build failure, when -Wl,--no-undefined flag is used.
The reason that the plugins are not linked against GLIB and other is that I have to support an almost static syslog-ng, in which case GLib is statically linked into the libsyslog-ng.so shared object and plugins pull it from there. I may indeed disable this flag here, it's primary target is shared library, not plugin.
-- BOFH excuse #107: The keyboard isn't plugged in
On Mon, 2010-10-18 at 10:42 +0200, Guillaume Rousse wrote:
Le 18/10/2010 10:18, Balazs Scheidler a écrit :
Hi,
Thanks for the patch, but I it was my intent not to link the plugins against GLIB & other dependencies.
Do you have an error message that this patch actually fixes? Build failure, when -Wl,--no-undefined flag is used.
Can you tell me the platform and the error messages that you got? Judging the argument, it seems like GNU ld, and I did compilations of this code on Linux and it worked.
The reason that the plugins are not linked against GLIB and other is that I have to support an almost static syslog-ng, in which case GLib is statically linked into the libsyslog-ng.so shared object and plugins pull it from there. I may indeed disable this flag here, it's primary target is shared library, not plugin.
-- Bazsi
participants (2)
-
Balazs Scheidler
-
Guillaume Rousse