{"action":"opened","issue":{"url":"https://api.github.com/repos/mxe/mxe/issues/995","labels_url":"https://api.github.com/repos/mxe/mxe/issues/995/labels{/name}","comments_url":"https://api.github.com/repos/mxe/mxe/issues/995/comments","events_url":"https://api.github.com/repos/mxe/mxe/issues/995/events","html_url":"https://github.com/mxe/mxe/issues/995","id":116991886,"number":995,"title":"dlfcn-win32 finds wine","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T13:08:35Z","updated_at":"2015-11-15T13:08:35Z","closed_at":null,"body":"`dlfcn-win32` detects `wine` with the following command:\r\n```\r\n$ wine --version\r\n```\r\nThis command succeeds even if WINEPREFIX is set to an empty or read-only directory:\r\n\r\n```\r\n$ WINEPREFIX=/ wine --version\r\nwine-1.6.2\r\n```\r\n\r\nI think we should create shell script `wine` returning exit code 1 and add it to `PATH`."}}