{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3660","repository_url":"https://api.github.com/repos/libgit2/libgit2","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3660/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3660/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3660/events","html_url":"https://github.com/libgit2/libgit2/pull/3660","id":139306276,"number":3660,"title":"MinGW builds should create DLLs without \"lib\" prefix","user":{"login":"mstrap","id":3380730,"avatar_url":"https://avatars.githubusercontent.com/u/3380730?v=3","gravatar_id":"","url":"https://api.github.com/users/mstrap","html_url":"https://github.com/mstrap","followers_url":"https://api.github.com/users/mstrap/followers","following_url":"https://api.github.com/users/mstrap/following{/other_user}","gists_url":"https://api.github.com/users/mstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/mstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstrap/subscriptions","organizations_url":"https://api.github.com/users/mstrap/orgs","repos_url":"https://api.github.com/users/mstrap/repos","events_url":"https://api.github.com/users/mstrap/events{/privacy}","received_events_url":"https://api.github.com/users/mstrap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-08T15:30:58Z","updated_at":"2016-03-08T17:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/3660","html_url":"https://github.com/libgit2/libgit2/pull/3660","diff_url":"https://github.com/libgit2/libgit2/pull/3660.diff","patch_url":"https://github.com/libgit2/libgit2/pull/3660.patch"},"body":"This is required to fix jagged MinGW builds"},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/193890943","html_url":"https://github.com/libgit2/libgit2/pull/3660#issuecomment-193890943","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3660","id":193890943,"user":{"login":"ethomson","id":1130014,"avatar_url":"https://avatars.githubusercontent.com/u/1130014?v=3","gravatar_id":"","url":"https://api.github.com/users/ethomson","html_url":"https://github.com/ethomson","followers_url":"https://api.github.com/users/ethomson/followers","following_url":"https://api.github.com/users/ethomson/following{/other_user}","gists_url":"https://api.github.com/users/ethomson/gists{/gist_id}","starred_url":"https://api.github.com/users/ethomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethomson/subscriptions","organizations_url":"https://api.github.com/users/ethomson/orgs","repos_url":"https://api.github.com/users/ethomson/repos","events_url":"https://api.github.com/users/ethomson/events{/privacy}","received_events_url":"https://api.github.com/users/ethomson/received_events","type":"User","site_admin":true},"created_at":"2016-03-08T17:57:10Z","updated_at":"2016-03-08T17:57:10Z","body":"Yeah, but almost all of the mingw libraries that mingw includes only exist for the sake of mingw, right?  If you're using mingw to build a DLL that you actually want to share with the rest of the world, will other tools understand the `lib` prefix?\r\n\r\nLet me provide a concrete example:  if we wanted to build libgit2 with mingw and then use it in LibGit2Sharp...  Does P/Invoke understand that it should look for `git2.dll` *and* `libgit2.dll`?  I would wager that it does not...\r\n\r\nI'm not completely opposed to making jagged's JNI loader try to load `git2` and `libgit2`.  (Presumably on Windows only, to avoid looking for `liblibgit2`.  Sigh.)\r\n\r\nBut if mingw *is* capable of handling both, then I think that having it emit `git2.dll` makes sense for maximum compatibility..."}}