mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Now that we have applied the [1] patch, the diff is much nicer and less noisy. [1]: https://www.github.com/mesonbuild/meson/pull/14861
11 lines
491 B
Meson
11 lines
491 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
|