diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-05-31 18:30:10 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-06-03 10:09:24 +0200 |
commit | 3626877554b6c567d43336ec49414cedfe487260 (patch) | |
tree | f80c51ec1867fea029b955d85e89e39017f920e3 /etc/defaults/CC/pkgconfig/TARGETS | |
download | hello-nix-3626877554b6c567d43336ec49414cedfe487260.tar.gz |
Initial commit
Diffstat (limited to 'etc/defaults/CC/pkgconfig/TARGETS')
-rw-r--r-- | etc/defaults/CC/pkgconfig/TARGETS | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/etc/defaults/CC/pkgconfig/TARGETS b/etc/defaults/CC/pkgconfig/TARGETS new file mode 100644 index 0000000..63be252 --- /dev/null +++ b/etc/defaults/CC/pkgconfig/TARGETS @@ -0,0 +1,51 @@ +{ "defaults": + { "type": "configure" + , "target": "defaults (unconfigured)" + , "arguments_config": ["TOOLCHAIN_CONFIG"] + , "config": + { "type": "let*" + , "bindings": + [ [ "PKGCONFIG toolchain" + , { "type": "lookup" + , "map": + { "type": "var" + , "name": "TOOLCHAIN_CONFIG" + , "default": {"type": "empty_map"} + } + , "key": "PKGCONFIG" + , "default": {"type": "empty_map"} + } + ] + , [ "pkg-config" + , { "type": "lookup" + , "map": {"type": "var", "name": "PKGCONFIG toolchain"} + , "key": "pkg-config" + , "default": "pkg-config" + } + ] + , [ "PATH" + , { "type": "lookup" + , "map": {"type": "var", "name": "PKGCONFIG toolchain"} + , "key": "PATH" + , "default": [] + } + ] + , [ "PKG_CONFIG_PATH" + , { "type": "lookup" + , "map": {"type": "var", "name": "PKGCONFIG toolchain"} + , "key": "PKG_CONFIG_PATH" + , "default": [] + } + ] + ] + , "body": {"type": "env", "vars": ["pkg-config", "PATH", "PKG_CONFIG_PATH"]} + } + } +, "defaults (unconfigured)": + { "type": "defaults" + , "arguments_config": ["pkg-config", "PATH", "PKG_CONFIG_PATH"] + , "pkg-config": [{"type": "var", "name": "pkg-config"}] + , "PATH": {"type": "var", "name": "PATH"} + , "PKG_CONFIG_PATH": {"type": "var", "name": "PKG_CONFIG_PATH"} + } +} |