{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/1920","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1920/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1920/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1920/events","html_url":"https://github.com/bazelbuild/bazel/issues/1920","id":182071880,"number":1920,"title":"Rule to build a fully static library","user":{"login":"asimshankar","id":16018,"avatar_url":"https://avatars.githubusercontent.com/u/16018?v=3","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"labels":[{"id":392619826,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/category:%20rules%20%3E%20C++","name":"category: rules > C++","color":"d4c5f9","default":false},{"id":106503262,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Under%20investigation","name":"Under investigation","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"lberki","id":3524818,"avatar_url":"https://avatars.githubusercontent.com/u/3524818?v=3","gravatar_id":"","url":"https://api.github.com/users/lberki","html_url":"https://github.com/lberki","followers_url":"https://api.github.com/users/lberki/followers","following_url":"https://api.github.com/users/lberki/following{/other_user}","gists_url":"https://api.github.com/users/lberki/gists{/gist_id}","starred_url":"https://api.github.com/users/lberki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lberki/subscriptions","organizations_url":"https://api.github.com/users/lberki/orgs","repos_url":"https://api.github.com/users/lberki/repos","events_url":"https://api.github.com/users/lberki/events{/privacy}","received_events_url":"https://api.github.com/users/lberki/received_events","type":"User","site_admin":false},"assignees":[{"login":"lberki","id":3524818,"avatar_url":"https://avatars.githubusercontent.com/u/3524818?v=3","gravatar_id":"","url":"https://api.github.com/users/lberki","html_url":"https://github.com/lberki","followers_url":"https://api.github.com/users/lberki/followers","following_url":"https://api.github.com/users/lberki/following{/other_user}","gists_url":"https://api.github.com/users/lberki/gists{/gist_id}","starred_url":"https://api.github.com/users/lberki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lberki/subscriptions","organizations_url":"https://api.github.com/users/lberki/orgs","repos_url":"https://api.github.com/users/lberki/repos","events_url":"https://api.github.com/users/lberki/events{/privacy}","received_events_url":"https://api.github.com/users/lberki/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2016-10-10T17:35:27Z","updated_at":"2017-01-30T09:35:23Z","closed_at":null,"body":"Among the multiple \"release\" outputs of my project, I'd like to include a single static library, which packages the objects of all dependencies into it. However, from what I can tell, bazel cannot build such targets.\n\nThe following target produces a single `.so` containing all symbols from `//product/foo` and `//product/bar`.:\n\n```\ncc_binary(\n  name = \"libproduct.so\",\n  linkshared = 1,\n  deps = [\n     \"//product/foo\",\n     \"//product/bar\",\n  ],\n)\n```\n\nI believe there is no way to generate a similar static library (`libproduct.a`).\nIs that something that will be of interest to add?\n\n(#492 seems somewhat related, but not exactly)\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/276016343","html_url":"https://github.com/bazelbuild/bazel/issues/1920#issuecomment-276016343","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1920","id":276016343,"user":{"login":"lberki","id":3524818,"avatar_url":"https://avatars.githubusercontent.com/u/3524818?v=3","gravatar_id":"","url":"https://api.github.com/users/lberki","html_url":"https://github.com/lberki","followers_url":"https://api.github.com/users/lberki/followers","following_url":"https://api.github.com/users/lberki/following{/other_user}","gists_url":"https://api.github.com/users/lberki/gists{/gist_id}","starred_url":"https://api.github.com/users/lberki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lberki/subscriptions","organizations_url":"https://api.github.com/users/lberki/orgs","repos_url":"https://api.github.com/users/lberki/repos","events_url":"https://api.github.com/users/lberki/events{/privacy}","received_events_url":"https://api.github.com/users/lberki/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T09:35:22Z","updated_at":"2017-01-30T09:35:22Z","body":"@mhlopko is OOO for a long while, so I don't think we can get to this soon-ish :("}}
{"actor":{"display_login":"lberki"}}