From 7671e6b91e1690a0a9415c93eb58cd1f0e5b6ba8 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 16 Jul 2023 01:21:42 -0700 Subject: [PATCH] Only delete the `cmake` flags under mingw --- ext/re2/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/re2/extconf.rb b/ext/re2/extconf.rb index 5ad49eb..63dcb7c 100644 --- a/ext/re2/extconf.rb +++ b/ext/re2/extconf.rb @@ -277,7 +277,7 @@ def process_recipe(name, version) '-DCMAKE_INSTALL_LIBDIR=lib' ] recipe.configure_options += cmake_compile_flags(recipe.host) - delete_cmake_generator_option!(recipe.configure_options) + delete_cmake_generator_option!(recipe.configure_options) if MiniPortile.mingw? yield recipe