Skip to content

Commit

Permalink
Use MiniPortile2's mkmf_config to simplify build
Browse files Browse the repository at this point in the history
GitHub: #109

Now MiniPortile2 2.8.5 ships with a mkmf_config feature that can handle
statically linking libraries for us, switch to using that rather than
rolling our own implementation.

At the same time, we take a leaf from the Ruby SQLite3 gem's extconf
(https://github.com/sparklemotion/sqlite3-ruby/blob/ae5c13996f936fce07e8a5e9fb6aaf2ede5d82b7/ext/sqlite3/extconf.rb#L113)
and re-organise the configuration logic in our extconf.rb into a class
rather than a series of global functions.
  • Loading branch information
mudge committed Mar 10, 2024
1 parent cc4940a commit 2f66a1d
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 317 deletions.
Loading

0 comments on commit 2f66a1d

Please sign in to comment.