Update libmagic; link system ICU on Darwin; use RbConfig CFLAGS, etc. #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes changes intended to allow the resolution of #29, #40, #42 (partial), #43, #49, #50, #51, #52.
enforce RbConfig compiler and related flags.
fix for non-GNU 'make' (ie, no
make -C
).remove 'dst' build directory after compiling.
Build and link against system ICU on Darwin.
I've included a minimal subset of the ICU headers in
darwin-icu-headers.tar.gz
,taken from the Apple ICU source (Apple doesn't distribute these headers because they prefer you use their client frameworks like Core Text, etc., but they're available freely at the link above). These headers are from the version bundled with 10.7 (10.6 was too old, so I've retained the check for homebrew icu4c on older versions).
I've tested that they work on 10.9, so presumably it should work on 10.7 and 10.8 as well.
If anyone can confirm that, that would be great.
I think perhaps this is a better solution than relying on
brew install icu4c
?