diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-07-06 15:06:14 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-07-06 18:49:49 +0200 |
commit | dc1129c79931d4391c3bcf6b629758fab7038219 (patch) | |
tree | 3fe625f3713c1c720f15e81ce2b766de56920adb | |
parent | 6417048387cad7663e7a11634bb9f326762235fc (diff) | |
download | justbuild-dc1129c79931d4391c3bcf6b629758fab7038219.tar.gz |
External PCRE: Give meaningful error if OS/ARCH is not set
-rw-r--r-- | etc/import/deps/pcre/TARGETS.git2 | 9 |
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"] |