From dc1129c79931d4391c3bcf6b629758fab7038219 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 6 Jul 2022 15:06:14 +0200 Subject: External PCRE: Give meaningful error if OS/ARCH is not set --- etc/import/deps/pcre/TARGETS.git2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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"] -- cgit v1.2.3