fix: visibility of bt_plugin_python_create_all_from_file
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 30 Mar 2023 18:07:05 +0000 (14:07 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 30 Mar 2023 19:35:43 +0000 (15:35 -0400)
commit5eef3669fc4aedeb2046d2177833677ce290679c
tree5cdcf80c602c179852a0aece7259f3b726d53473
parente90ceff4a51fda1e0fc0dcb94f9e7f54aca93a58
fix: visibility of bt_plugin_python_create_all_from_file

With glib2 < 2.52, G_MODULE_EXPORT is defined to nothing on platforms
other than Windows instead of __attribute__((visibility("default")))
which results in an hidden symbol and the failure to load the python
plugin provider.

Use our own macro to export this symbol.

Change-Id: I83ac515c573d92e22021759bf23a1a9615bd3e07
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/9724
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/python-plugin-provider/python-plugin-provider.c
This page took 0.024445 seconds and 4 git commands to generate.