1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 11:49:35 +01:00

build: meson for libfetchers

This commit is contained in:
Tom Bereknyei 2024-06-05 21:36:18 -04:00 committed by John Ericson
parent 6e34c68327
commit 706edf26eb
8 changed files with 266 additions and 2 deletions

View file

@ -425,12 +425,13 @@ this_library = library(
install_headers(headers, subdir : 'nix', preserve_path : true)
requires = deps_public
requires = []
if nix_util.type_name() == 'internal'
# `requires` cannot contain declared dependencies (from the
# subproject), so we need to do this manually
requires = [ 'nix-util' ] + requires
requires += 'nix-util'
endif
requires += deps_public
import('pkgconfig').generate(
this_library,