mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Fix a bunch of missing meson boilerplate
These other libraries need this too
(cherry picked from commit ffdce51cd5
)
This commit is contained in:
parent
ceec04f1e2
commit
45ff01a2d5
5 changed files with 25 additions and 0 deletions
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -58,10 +58,15 @@ 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,
|
||||||
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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue