diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-09-19 15:53:48 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-10-07 17:01:47 +0200 |
commit | 5c78fb69d906f791803d183c45f89dbb2371c02f (patch) | |
tree | ca9911a2ba7cff9540b57c7c0da76bd6689b6be0 | |
parent | faea981640edda351ba15872a6fa8abfe0bf313f (diff) | |
download | justbuild-5c78fb69d906f791803d183c45f89dbb2371c02f.tar.gz |
just: Use configure built-in to configure libgit2
-rw-r--r-- | TARGETS | 33 |
1 files changed, 13 insertions, 20 deletions
@@ -36,28 +36,21 @@ , "target": ["exported-just"] } , "libgit2": - { "type": "export" + { "type": "configure" , "target": ["@", "libgit2", "", "git2"] - , "fixed_config": - { "USE_SHA1": "OpenSSL" - , "USE_SSH": false - , "USE_HTTPS": false - , "USE_GSSAPI": false + , "config": + { "type": "let*" + , "bindings": + [ ["USE_SHA1", "OpenSSL"] + , ["USE_SSH", false] + , ["USE_HTTPS", false] + , ["USE_GSSAPI", false] + ] + , "body": + { "type": "env" + , "vars": ["USE_SHA1", "USE_SSH", "USE_HTTPS", "USE_GSSAPI"] + } } - , "flexible_config": - [ "OS" - , "ARCH" - , "HOST_ARCH" - , "TARGET_ARCH" - , "COMPILER_FAMILY" - , "DEBUG" - , "CXX" - , "CC" - , "ADD_CXXFLAGS" - , "ADD_CFLAGS" - , "AR" - , "ENV" - ] } , "just-ext-hdrs": { "type": ["@", "rules", "CC", "configure"] |