mudge / re2

Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
http://mudge.name/re2/
BSD 3-Clause "New" or "Revised" License
130 stars 13 forks source link

ci: Ensure vendored dependencies can co-exist with system libs #92

Closed stanhu closed 1 year ago

stanhu commented 1 year ago

Ruby's mkmf appears to list RbConfig::CONFIG['exec_prefix']/lib first in the search path when building a C extension. If you have libre2 installed in that path, the linker will use that library instead of the vendored library. This adds a test to ensure this case is covered.

stanhu commented 1 year ago

Closing in favor of #93!