{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/36871","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36871/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36871/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36871/events","html_url":"https://github.com/Homebrew/homebrew/issues/36871","id":57846677,"number":36871,"title":"`pkg-config --cflags` capstone returns wrong path","user":{"login":"Tyilo","id":568036,"avatar_url":"https://avatars.githubusercontent.com/u/568036?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyilo","html_url":"https://github.com/Tyilo","followers_url":"https://api.github.com/users/Tyilo/followers","following_url":"https://api.github.com/users/Tyilo/following{/other_user}","gists_url":"https://api.github.com/users/Tyilo/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyilo/subscriptions","organizations_url":"https://api.github.com/users/Tyilo/orgs","repos_url":"https://api.github.com/users/Tyilo/repos","events_url":"https://api.github.com/users/Tyilo/events{/privacy}","received_events_url":"https://api.github.com/users/Tyilo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T20:13:20Z","updated_at":"2015-02-22T15:44:43Z","closed_at":"2015-02-22T15:44:43Z","body":"```\r\n$ brew install capstone\r\n...\r\n$ pkg-config --cflags capstone\r\n-I/usr/include/capstone\r\n$ file /usr/include/capstone\r\n/usr/include/capstone: cannot open `/usr/include/capstone' (No such file or directory)\r\n$ file /usr/local/include/capstone\r\n/usr/local/include/capstone: directory\r\n```\r\n\r\nThe problem is probably related to the install note:\r\n```\r\n\t# Capstone's Make script ignores the prefix env and was installing\r\n    # in /usr/local directly. So just inreplace the prefix for less pain.\r\n    # https://github.com/aquynh/capstone/issues/228\r\n```"}}