{"action":"created","issue":{"url":"https://api.github.com/repos/dbuenzli/topkg/issues/11","labels_url":"https://api.github.com/repos/dbuenzli/topkg/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/dbuenzli/topkg/issues/11/comments","events_url":"https://api.github.com/repos/dbuenzli/topkg/issues/11/events","html_url":"https://github.com/dbuenzli/topkg/issues/11","id":75213742,"number":11,"title":"Wrong definition of extensions on Windows/Cygwin","user":{"login":"braibant","id":621053,"avatar_url":"https://avatars.githubusercontent.com/u/621053?v=3","gravatar_id":"","url":"https://api.github.com/users/braibant","html_url":"https://github.com/braibant","followers_url":"https://api.github.com/users/braibant/followers","following_url":"https://api.github.com/users/braibant/following{/other_user}","gists_url":"https://api.github.com/users/braibant/gists{/gist_id}","starred_url":"https://api.github.com/users/braibant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braibant/subscriptions","organizations_url":"https://api.github.com/users/braibant/orgs","repos_url":"https://api.github.com/users/braibant/repos","events_url":"https://api.github.com/users/braibant/events{/privacy}","received_events_url":"https://api.github.com/users/braibant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-11T12:59:16Z","updated_at":"2015-06-29T09:52:09Z","closed_at":null,"body":"This commit https://github.com/dbuenzli/topkg/commit/605fc11a48da220fcef7e0293f183a4a3faf0293 introduced an issue that prevents compilation of some `topkg` packages under Cygwin on Windows. Specifically, the lines https://github.com/dbuenzli/topkg/blob/master/pkg/topkg.ml#L155-156 should test whether `Sys.cygwin` is true to select the right extention when compiling under Cygwin. "},"comment":{"url":"https://api.github.com/repos/dbuenzli/topkg/issues/comments/116587400","html_url":"https://github.com/dbuenzli/topkg/issues/11#issuecomment-116587400","issue_url":"https://api.github.com/repos/dbuenzli/topkg/issues/11","id":116587400,"user":{"login":"braibant","id":621053,"avatar_url":"https://avatars.githubusercontent.com/u/621053?v=3","gravatar_id":"","url":"https://api.github.com/users/braibant","html_url":"https://github.com/braibant","followers_url":"https://api.github.com/users/braibant/followers","following_url":"https://api.github.com/users/braibant/following{/other_user}","gists_url":"https://api.github.com/users/braibant/gists{/gist_id}","starred_url":"https://api.github.com/users/braibant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braibant/subscriptions","organizations_url":"https://api.github.com/users/braibant/orgs","repos_url":"https://api.github.com/users/braibant/repos","events_url":"https://api.github.com/users/braibant/events{/privacy}","received_events_url":"https://api.github.com/users/braibant/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T09:52:09Z","updated_at":"2015-06-29T09:52:09Z","body":"I am not sure there is a simple invocation that can determine the right variable. It seems that mingw use `.a` as the extension for static libraries (which makes sense). So `Sys.os_type`  is not precise enough to determine the right extension here.\r\n\r\nWould it make sense to have an extra option for `topkg` to allow the end user to override the definition of things like the extensions? \r\n\r\n"}}