X Tutup
The Wayback Machine - https://web.archive.org/web/20201118163418/https://github.com/libgit2/luagit2/issues/6
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

Fails to build if libgit2 is not installed into standard location (/usr/include) #6

Open
dolivier opened this issue Nov 28, 2013 · 0 comments

Comments

@dolivier
Copy link

@dolivier dolivier commented Nov 28, 2013

I needed to rebuild luagit, because Ubuntu libgit2 packages are now at v0.19, but luagit is not yet compatible with this version (the changes from v0.17 to v0.19 seemed too important to just hack luagit without more understanding).

So I compiled libgit2 v0.17, but installed it into /usr/local, but I encountered build errors.

My solution was to add the following line:
set(CFLAGS ${GIT2_CFLAGS})

There might be a better way, and that is the reason I am opening this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup