{"action":"created","issue":{"url":"https://api.github.com/repos/01org/libyami/issues/332","labels_url":"https://api.github.com/repos/01org/libyami/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/01org/libyami/issues/332/comments","events_url":"https://api.github.com/repos/01org/libyami/issues/332/events","html_url":"https://github.com/01org/libyami/pull/332","id":110764402,"number":332,"title":"tests: fix static compilation","user":{"login":"uartie","id":677859,"avatar_url":"https://avatars.githubusercontent.com/u/677859?v=3","gravatar_id":"","url":"https://api.github.com/users/uartie","html_url":"https://github.com/uartie","followers_url":"https://api.github.com/users/uartie/followers","following_url":"https://api.github.com/users/uartie/following{/other_user}","gists_url":"https://api.github.com/users/uartie/gists{/gist_id}","starred_url":"https://api.github.com/users/uartie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uartie/subscriptions","organizations_url":"https://api.github.com/users/uartie/orgs","repos_url":"https://api.github.com/users/uartie/repos","events_url":"https://api.github.com/users/uartie/events{/privacy}","received_events_url":"https://api.github.com/users/uartie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-10T03:29:19Z","updated_at":"2015-10-10T18:39:53Z","closed_at":"2015-10-10T16:12:07Z","pull_request":{"url":"https://api.github.com/repos/01org/libyami/pulls/332","html_url":"https://github.com/01org/libyami/pull/332","diff_url":"https://github.com/01org/libyami/pull/332.diff","patch_url":"https://github.com/01org/libyami/pull/332.patch"},"body":"When linking a static library, ld strips symbols that it\r\nthinks aren't being used.  The factory model for registering\r\ncodecs fools the linker into thinking the static registration\r\ndoes not result in usage of the result.\r\n\r\nThe only way to fix this without changing the factory\r\nregistration model is to force the linker to include\r\nthe entire static library archive.\r\n\r\nFixes #330\r\n\r\nSigned-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>"},"comment":{"url":"https://api.github.com/repos/01org/libyami/issues/comments/147115314","html_url":"https://github.com/01org/libyami/pull/332#issuecomment-147115314","issue_url":"https://api.github.com/repos/01org/libyami/issues/332","id":147115314,"user":{"login":"uartie","id":677859,"avatar_url":"https://avatars.githubusercontent.com/u/677859?v=3","gravatar_id":"","url":"https://api.github.com/users/uartie","html_url":"https://github.com/uartie","followers_url":"https://api.github.com/users/uartie/followers","following_url":"https://api.github.com/users/uartie/following{/other_user}","gists_url":"https://api.github.com/users/uartie/gists{/gist_id}","starred_url":"https://api.github.com/users/uartie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uartie/subscriptions","organizations_url":"https://api.github.com/users/uartie/orgs","repos_url":"https://api.github.com/users/uartie/repos","events_url":"https://api.github.com/users/uartie/events{/privacy}","received_events_url":"https://api.github.com/users/uartie/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T18:39:53Z","updated_at":"2015-10-10T18:39:53Z","body":"Ok, yes, it looks like we can fix this up for pkg-config, too, via the Libs.private and Requires definitions along with the AX_PKG_CHECK_MODULES autoconf macro.  Then, user can do `pkg-config --cflags --libs --static libyami_decoder`.\r\n\r\nI've started working on that and should have some patches for you sometime next week."}}