From 4b6a467a4a8998dcd50a54f610ccbaebdae279c1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 9 Apr 2026 14:13:26 +0900 Subject: mkmf: skip if C++ compiler not found --- test/mkmf/test_egrep_cpp.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mkmf/test_egrep_cpp.rb b/test/mkmf/test_egrep_cpp.rb index 2d10140368..1126324965 100644 --- a/test/mkmf/test_egrep_cpp.rb +++ b/test/mkmf/test_egrep_cpp.rb @@ -20,6 +20,8 @@ class TestMkmfEgrepCpp < TestMkmf #error not C++ #endif SRC + rescue Errno::ENOENT + omit "C++ compiler not available: #{$!.message}" end end end -- cgit v1.2.3