-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integrate better with MakeMakefile
If MakeMakefile is loaded, assume we're in an `extconf.rb` and: - prepend a `-L lib_path` and `-l lib_name` to $LDFLAGS - prepend `-I include_path` to $CPPFLAGS This should mean we don't need to use the pkgconf trick in extconf.rb anymore, which completely avoids the behavior of Fedora's pkgconf described in #118. I'm a little worried that this might break packages in some subtle way, so it can be turned off by passing `mkmf: false` to `MiniPortile#activate` also: - fix up the windows paths in the the LDFLAGS env var and the tests - use assert_includes for better failure messages - extract public class methods MiniPortile.native_path and .posix_path
- Loading branch information
1 parent
62b9a6e
commit 74ac5a1
Showing
3 changed files
with
129 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters