Default to precompiled binary on OS X #7

Closed
sindresorhus opened this Issue Mar 17, 2013 · 2 comments

Comments

Projects
None yet
3 participants
Owner

sindresorhus commented Mar 17, 2013

Since the precompiled binary on OS X should support 10.7+ and compiling takes some time, which is most likely unnecessary too. I think it makes sense to test the precompiled binary and if it works just use that and if not, fall back to compiling.

This applies to both jpegtran and optipng, but jpegtran is the slowest.

@badunk what do you think? would you be interested in doing a PR?

// @passy

Contributor

passy commented Mar 17, 2013

👍

In case the auto-detection fails for some reason, would there be an easy way for the user to manually compile the binary?

Contributor

badunk commented Mar 18, 2013

sounds like a great idea

I'll do a PR - but I may have to get to it within the next couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment