1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 19:01:16 +02:00

Fix a bunch of missing meson boilerplate

These other libraries need this too
This commit is contained in:
John Ericson 2025-03-27 00:09:20 -04:00
parent 1df69c3920
commit ffdce51cd5
5 changed files with 25 additions and 0 deletions

View file

@ -113,10 +113,15 @@ headers = [config_h] + files(
'repl.hh', 'repl.hh',
) )
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
this_library = library( this_library = library(
'nixcmd', 'nixcmd',
sources, sources,
dependencies : deps_public + deps_private + deps_other, dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,
prelink : true, # For C++ static initializers prelink : true, # For C++ static initializers
install : true, install : true,
) )

View file

@ -186,6 +186,9 @@ headers = [config_h] + files(
subdir('primops') subdir('primops')
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
this_library = library( this_library = library(
'nixexpr', 'nixexpr',
sources, sources,
@ -193,6 +196,8 @@ this_library = library(
lexer_tab, lexer_tab,
generated_headers, generated_headers,
dependencies : deps_public + deps_private + deps_other, dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,
prelink : true, # For C++ static initializers prelink : true, # For C++ static initializers
install : true, install : true,
) )

View file

@ -76,10 +76,15 @@ headers = files(
'tarball.hh', 'tarball.hh',
) )
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
this_library = library( this_library = library(
'nixfetchers', 'nixfetchers',
sources, sources,
dependencies : deps_public + deps_private + deps_other, dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,
prelink : true, # For C++ static initializers prelink : true, # For C++ static initializers
install : true, install : true,
) )

View file

@ -68,11 +68,16 @@ headers = files(
'flake/url-name.hh', 'flake/url-name.hh',
) )
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
this_library = library( this_library = library(
'nixflake', 'nixflake',
sources, sources,
generated_headers, generated_headers,
dependencies : deps_public + deps_private + deps_other, dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,
prelink : true, # For C++ static initializers prelink : true, # For C++ static initializers
install : true, install : true,
) )

View file

@ -82,10 +82,15 @@ headers = [config_h] + files(
'shared.hh', 'shared.hh',
) )
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
this_library = library( this_library = library(
'nixmain', 'nixmain',
sources, sources,
dependencies : deps_public + deps_private + deps_other, dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
link_args: linker_export_flags,
prelink : true, # For C++ static initializers prelink : true, # For C++ static initializers
install : true, install : true,
) )