summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-07-06 15:06:14 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-07-06 18:49:49 +0200
commitdc1129c79931d4391c3bcf6b629758fab7038219 (patch)
tree3fe625f3713c1c720f15e81ce2b766de56920adb
parent6417048387cad7663e7a11634bb9f326762235fc (diff)
downloadjustbuild-dc1129c79931d4391c3bcf6b629758fab7038219.tar.gz
External PCRE: Give meaningful error if OS/ARCH is not set
-rw-r--r--etc/import/deps/pcre/TARGETS.git29
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/import/deps/pcre/TARGETS.git2 b/etc/import/deps/pcre/TARGETS.git2
index 43009f5d..88770e82 100644
--- a/etc/import/deps/pcre/TARGETS.git2
+++ b/etc/import/deps/pcre/TARGETS.git2
@@ -5,7 +5,14 @@
, "data":
{ "type": "let*"
, "bindings":
- [ ["SUPPORT_PCRE8", 1]
+ [ [ "OS"
+ , { "type": "var"
+ , "name": "OS"
+ , "default":
+ {"type": "fail", "msg": "Required variable 'OS' is not set."}
+ }
+ ]
+ , ["SUPPORT_PCRE8", 1]
, ["PCRE_LINK_SIZE", "2"]
, ["PCRE_PARENS_NEST_LIMIT", "250"]
, ["PCRE_MATCH_LIMIT", "10000000"]