{"action":"opened","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/3653","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/3653/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/3653/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/3653/events","html_url":"https://github.com/mesonbuild/meson/issues/3653","id":328396811,"node_id":"MDU6SXNzdWUzMjgzOTY4MTE=","number":3653,"title":"[feature request] enable usage on pkg-config on MSYS2 (Windows)","user":{"login":"franko","id":433545,"node_id":"MDQ6VXNlcjQzMzU0NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/433545?v=4","gravatar_id":"","url":"https://api.github.com/users/franko","html_url":"https://github.com/franko","followers_url":"https://api.github.com/users/franko/followers","following_url":"https://api.github.com/users/franko/following{/other_user}","gists_url":"https://api.github.com/users/franko/gists{/gist_id}","starred_url":"https://api.github.com/users/franko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franko/subscriptions","organizations_url":"https://api.github.com/users/franko/orgs","repos_url":"https://api.github.com/users/franko/repos","events_url":"https://api.github.com/users/franko/events{/privacy}","received_events_url":"https://api.github.com/users/franko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T06:29:31Z","updated_at":"2018-06-01T06:29:31Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\n\r\nI stumbled on a problem using meson on q MSYS2 system. On this system one can use unix-like path like /usr/lib on the MSYS2 bash shell.\r\n\r\nIf you install pkg-config using pacman, the standard packaging system, you gen a functional pkg-config. The problem arise when you invoke Meson and what happens is that Meson is not able to recognize and use the MSYS2-provided pkg-config.\r\n\r\nBy doing some investigations the problem seems to be the path:\r\n\r\n```\r\n> which pkg-config\r\n/usr/bin/pkg-config\r\n```\r\n\r\nOtherwise the pkg-config is a native windows executable that can be ran without any problem.\r\n\r\nI did some investigations and I think that Meson is confused by the fact that pkg-config is located in /usr/bin and this is not a Windows-like PATH.\r\n\r\nSo the paradox is that you have a working pkg-config from your shell, it is a native windows executable, but Meson is unable to use it.\r\n\r\nI confess that I don't what could be the best approach to fix this problem but I use and I like very much Meson so I would love to have this case, usage inside MSYS2 bash, fixed.\r\n\r\nThank you in advance for any help.\r\n\r\nFrancesco"}}
{"actor":{"display_login":"franko"}}