{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/git2go/issues/159","labels_url":"https://api.github.com/repos/libgit2/git2go/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/git2go/issues/159/comments","events_url":"https://api.github.com/repos/libgit2/git2go/issues/159/events","html_url":"https://github.com/libgit2/git2go/pull/159","id":52870191,"number":159,"title":"Make the cgo tool do more linking work","user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-25T18:59:54Z","updated_at":"2015-01-01T00:25:34Z","closed_at":"2014-12-30T10:09:54Z","pull_request":{"url":"https://api.github.com/repos/libgit2/git2go/pulls/159","html_url":"https://github.com/libgit2/git2go/pull/159","diff_url":"https://github.com/libgit2/git2go/pull/159.diff","patch_url":"https://github.com/libgit2/git2go/pull/159.patch"},"body":"The cgo directives let us do a lot more than I previously thought, so we\r\ncan use this to make the building process of git2go go through the go\r\ntool directly rather than via the script.\r\n\r\nlibgit2 still needs to be built manually, so we do still require make,\r\nbut only for building libgit2. Once that's build, any modifications to\r\ngit2go can be built with\r\n\r\n    go build -tags static\r\n\r\nLeaving out the static tag will make git2go try to link against a\r\nsystem-provided version of libgit2 via the normal pkg-config channels."},"comment":{"url":"https://api.github.com/repos/libgit2/git2go/issues/comments/68476451","html_url":"https://github.com/libgit2/git2go/pull/159#issuecomment-68476451","issue_url":"https://api.github.com/repos/libgit2/git2go/issues/159","id":68476451,"user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T00:25:34Z","updated_at":"2015-01-01T00:25:34Z","body":"It's a shame that didn't work out. Is there any other workaround?"}}