mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
12 lines
489 B
Meson
12 lines
489 B
Meson
|
if host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
|
||
|
# Windows DLLs are stricter about symbol visibility than Unix shared
|
||
|
# objects --- see https://gcc.gnu.org/wiki/Visibility for details.
|
||
|
# This is a temporary sledgehammer to export everything like on Unix,
|
||
|
# and not detail with this yet.
|
||
|
#
|
||
|
# TODO do not do this, and instead do fine-grained export annotations.
|
||
|
linker_export_flags = ['-Wl,--export-all-symbols']
|
||
|
else
|
||
|
linker_export_flags = []
|
||
|
endif
|