From fd7f6ff406ec5d3f94e77e1bbbc1fdfedff8d7ca Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Thu, 28 Mar 2024 13:19:53 +0000 Subject: [PATCH] Ensure we include other libs as well --- ext/re2/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/re2/extconf.rb b/ext/re2/extconf.rb index 60d6359..9a0f4f7 100644 --- a/ext/re2/extconf.rb +++ b/ext/re2/extconf.rb @@ -246,6 +246,8 @@ def static_pkg_config(pc_file, pkg_config_paths) end end + append_ldflags(minimal_pkg_config(pc_file, '--libs-only-other', '--static')) + incflags = minimal_pkg_config(pc_file, '--cflags-only-I') $INCFLAGS = [incflags, $INCFLAGS].join(" ").strip