mirror of
https://github.com/NixOS/nix
synced 2025-06-26 03:21:16 +02:00
More dedup
This commit is contained in:
parent
c88f83b471
commit
d6f57f3260
14 changed files with 24 additions and 138 deletions
|
@ -79,17 +79,7 @@ headers = [config_h] + files(
|
|||
'nix_api_value.h',
|
||||
)
|
||||
|
||||
if host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
|
||||
# Windows DLLs are stricter ab_subprojectout 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
|
||||
subdir('meson-utils/export-all-symbols')
|
||||
|
||||
this_library = library(
|
||||
'nixexprc',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue