Skip to content

systemd-journal: fix --with-systemd-journal=optional mode#4302

Merged
HofiOne merged 1 commit into
syslog-ng:masterfrom
bazsi:fix-systemd-journal-optional-linking-mode
Feb 1, 2023
Merged

systemd-journal: fix --with-systemd-journal=optional mode#4302
HofiOne merged 1 commit into
syslog-ng:masterfrom
bazsi:fix-systemd-journal-optional-linking-mode

Conversation

@bazsi
Copy link
Copy Markdown
Collaborator

@bazsi bazsi commented Feb 1, 2023

This patch fixes #4300 that was a regression from #4225.

This patch fixes syslog-ng#4300 that was a regression from syslog-ng#4225.

Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 1, 2023

No news file has been detected. Please write one, if applicable.

@kira-syslogng
Copy link
Copy Markdown
Contributor

Build FAILURE

* See https://github.com/syslog-ng/syslog-ng/issues/4300 for more details.
*/

#define VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is what I was looking for after I realized that g_module_symbol finds the given symbol in our plugin first not in the module passed as its first parameter that is, in my opinion, a glib bug

@HofiOne HofiOne merged commit 0413da7 into syslog-ng:master Feb 1, 2023
alltilla added a commit to alltilla/syslog-ng that referenced this pull request Feb 14, 2023
MrAnno added a commit that referenced this pull request Feb 14, 2023
Genfood pushed a commit to Genfood/syslog-ng that referenced this pull request Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic loading of journald symbols fails

3 participants