{"action":"opened","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/889","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/889/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/889/events","html_url":"https://github.com/mesonbuild/meson/issues/889","id":182144605,"number":889,"title":"The pkgconfig module does not check for `name_prefix`","user":{"login":"arteymix","id":1318477,"avatar_url":"https://avatars.githubusercontent.com/u/1318477?v=3","gravatar_id":"","url":"https://api.github.com/users/arteymix","html_url":"https://github.com/arteymix","followers_url":"https://api.github.com/users/arteymix/followers","following_url":"https://api.github.com/users/arteymix/following{/other_user}","gists_url":"https://api.github.com/users/arteymix/gists{/gist_id}","starred_url":"https://api.github.com/users/arteymix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteymix/subscriptions","organizations_url":"https://api.github.com/users/arteymix/orgs","repos_url":"https://api.github.com/users/arteymix/repos","events_url":"https://api.github.com/users/arteymix/events{/privacy}","received_events_url":"https://api.github.com/users/arteymix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-11T00:16:01Z","updated_at":"2016-10-11T00:16:01Z","closed_at":null,"body":"The generator simply does not check for the library prefix.\r\n\r\nThe case I deal with is when the package name starts with `lib`:\r\n\r\n```python\r\nlibfoo_lib = library('libfoo', 'libfoo.c', name_prefix: '')\r\n\r\npkgconfig.generate(name: 'libfoo', library: libfoo_lib)\r\n```\r\n\r\n```pkgconfig\r\n...\r\nLibs: -L${libdir} -llibfoo # should be simply -lfoo\r\n```\r\n\r\nI'll probably submit a patch tomorrow for this problem on #862."}}
{"actor":{"display_login":"arteymix"}}