{"action":"opened","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/1148","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1148/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1148/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/1148/events","html_url":"https://github.com/urho3d/Urho3D/issues/1148","id":126146733,"number":1148,"title":"Improve build system to generate better Urho3D.pc file","user":{"login":"weitjong","id":5548048,"avatar_url":"https://avatars.githubusercontent.com/u/5548048?v=3","gravatar_id":"","url":"https://api.github.com/users/weitjong","html_url":"https://github.com/weitjong","followers_url":"https://api.github.com/users/weitjong/followers","following_url":"https://api.github.com/users/weitjong/following{/other_user}","gists_url":"https://api.github.com/users/weitjong/gists{/gist_id}","starred_url":"https://api.github.com/users/weitjong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitjong/subscriptions","organizations_url":"https://api.github.com/users/weitjong/orgs","repos_url":"https://api.github.com/users/weitjong/repos","events_url":"https://api.github.com/users/weitjong/events{/privacy}","received_events_url":"https://api.github.com/users/weitjong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/urho3d/Urho3D/labels/build%20system","name":"build system","color":"5319e7"},{"url":"https://api.github.com/repos/urho3d/Urho3D/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T10:25:55Z","updated_at":"2016-01-12T10:25:55Z","closed_at":null,"body":"Currently the generated Urho3D.pc file is not entirely correct. There are at least two things we could improve.\r\n\r\n1. It may still erroneously expose some of the compiler defines that are really required only when building the library and not when using the library.\r\n2. The linker flags are erroneously prepared as if user would always want to link against the library statically, i.e. we actually need less linker flags when linking dynamically.\r\n"}}