Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Makefile.embed to be used when cross-compiling #1748

Merged
merged 2 commits into from
Jul 31, 2013

Conversation

arthurschreiber
Copy link
Member

This allows libgit2 to be cross-compiled (e.g. when building native rugged binaries for windows from Linux or OS X).

CROSS_COMPILE=i686-w64-mingw32 make -f Makefile.embed

This allows libgit2 to be cross-compiled (e.g. when building native rugged binaries for windows from Linux or OS X).

```
CROSS_COMPILE=i686-w64-mingw32 make -f Makefile.embed
```
This option is already present in the CMake config, but was missing from `Makefile.embed` and would cause all kinds of weird failures when compiling rugged on windows with the ruby devkit.
carlosmn added a commit that referenced this pull request Jul 31, 2013
Allow Makefile.embed to be used when cross-compiling
@carlosmn carlosmn merged commit 1cd0acf into libgit2:development Jul 31, 2013
@arthurschreiber arthurschreiber deleted the patch-1 branch July 31, 2013 18:00
phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
Allow Makefile.embed to be used when cross-compiling
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.

2 participants