diff options
author | Klemens Nanni <klemens@posteo.de> | 2023-03-02 16:18:24 +0400 |
---|---|---|
committer | fiaxh <fiaxh@users.noreply.github.com> | 2023-03-24 19:36:32 +0100 |
commit | b75b6062abc07b25d0dcd6717e168aa85be7cf4e (patch) | |
tree | 168a14900285826474368bb8d93cf8e908acd48c /xmpp-vala/tests/util.vala | |
parent | 32e535a79cc23c56f6ef602ef6271b14e3dc4ac4 (diff) | |
download | dino-b75b6062abc07b25d0dcd6717e168aa85be7cf4e.tar.gz dino-b75b6062abc07b25d0dcd6717e168aa85be7cf4e.zip |
Always export symbols to fix startup on BSDs
```
$ dino
(dino:38515): Gtk-ERROR **: 15:38:38.538: failed to add UI from resource /im/dino/Dino/unified_main_content.ui: .:26:1 Invalid object type 'DinoUiConversationSelector'
Trace/BPT trap (core dumped)
```
This works on Linux because CMake itself links with `-rdynamic` by default
as per its `Modules/Platform/Linux-*.cmake`.
OpenBSD carries this as local patch, FreeBSD links with `--export-dynamics`.
Just linking with `-rdynamic` also fixes it on OpenBSD, as expected.
https://cmake.org/cmake/help/latest/prop_tgt/ENABLE_EXPORTS.html
Fix #438.
Diffstat (limited to 'xmpp-vala/tests/util.vala')
0 files changed, 0 insertions, 0 deletions