Skip to content

Commit

Permalink
Ensure we include other libs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mudge committed Mar 28, 2024
1 parent 8e0a583 commit fd7f6ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/re2/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd7f6ff

Please sign in to comment.