syslog-ng tries to statically link glib-2.0 because it does not add the LD_END_STATIC variable to the linking command line. the patch solves this problem. Reproducible: Always
Created attachment 174620 [details, diff] the patch
i forgot to mention, that the best solution would be to remove the -Bstatic and -Bdynamic options at all and let the linker use what is available.
Was this patch sent upstream?
not yet.
in portage. thanks for the bug report and patch.