Skip to content

Conversation

@stanhu
Copy link
Collaborator

@stanhu stanhu commented Sep 8, 2023

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.

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 stanhu force-pushed the sh-fix-static-linking branch from 443d46a to a5a9e43 Compare September 8, 2023 21:24
@stanhu
Copy link
Collaborator Author

stanhu commented Sep 8, 2023

Closing in favor of #93!

@stanhu stanhu closed this Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant