diff options
author | Eric Wong <e@80x24.org> | 2023-11-26 02:11:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-26 19:34:55 +0000 |
commit | ef94b82e4b9f89d543b005fcf8c7f184db87c4f9 (patch) | |
tree | 78195544a3cda7b3987660cd0aa3a2f2aa93c36c /lib/PublicInbox/XapHelperCxx.pm | |
parent | b3a13a6f051202caaa4b71cc8dc3510544b8d05c (diff) | |
download | public-inbox-ef94b82e4b9f89d543b005fcf8c7f184db87c4f9.tar.gz |
This also reduces repetition in the setup code.
Diffstat (limited to 'lib/PublicInbox/XapHelperCxx.pm')
-rw-r--r-- | lib/PublicInbox/XapHelperCxx.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/XapHelperCxx.pm b/lib/PublicInbox/XapHelperCxx.pm index b1deb665..f421c7bc 100644 --- a/lib/PublicInbox/XapHelperCxx.pm +++ b/lib/PublicInbox/XapHelperCxx.pm @@ -110,6 +110,7 @@ sub check_build () { # returns spawn arg sub cmd { + die 'PI_NO_CXX set' if $ENV{PI_NO_CXX}; check_build(); my @cmd; if (my $v = $ENV{VALGRIND}) { |