summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-09-19 15:53:48 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-10-07 17:01:47 +0200
commit5c78fb69d906f791803d183c45f89dbb2371c02f (patch)
treeca9911a2ba7cff9540b57c7c0da76bd6689b6be0
parentfaea981640edda351ba15872a6fa8abfe0bf313f (diff)
downloadjustbuild-5c78fb69d906f791803d183c45f89dbb2371c02f.tar.gz
just: Use configure built-in to configure libgit2
-rw-r--r--TARGETS33
1 files changed, 13 insertions, 20 deletions
diff --git a/TARGETS b/TARGETS
index 04b3004b..2b67ce19 100644
--- a/TARGETS
+++ b/TARGETS
@@ -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"]