{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/1338","repository_url":"https://api.github.com/repos/Microsoft/vcpkg","labels_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/1338/comments","events_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/1338/events","html_url":"https://github.com/Microsoft/vcpkg/issues/1338","id":237976298,"number":1338,"title":"[Boost] static link is broken","user":{"login":"cenit","id":721187,"avatar_url":"https://avatars3.githubusercontent.com/u/721187?v=4","gravatar_id":"","url":"https://api.github.com/users/cenit","html_url":"https://github.com/cenit","followers_url":"https://api.github.com/users/cenit/followers","following_url":"https://api.github.com/users/cenit/following{/other_user}","gists_url":"https://api.github.com/users/cenit/gists{/gist_id}","starred_url":"https://api.github.com/users/cenit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cenit/subscriptions","organizations_url":"https://api.github.com/users/cenit/orgs","repos_url":"https://api.github.com/users/cenit/repos","events_url":"https://api.github.com/users/cenit/events{/privacy}","received_events_url":"https://api.github.com/users/cenit/received_events","type":"User","site_admin":false},"labels":[{"id":465776712,"url":"https://api.github.com/repos/Microsoft/vcpkg/labels/documentation","name":"documentation","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-06-22T21:15:22Z","updated_at":"2018-02-04T06:54:51Z","closed_at":"2017-07-28T18:47:36Z","author_association":"CONTRIBUTOR","body":"As from the subject, static linking of boost libraries is currently broken.\r\nThis commit https://github.com/Microsoft/vcpkg/commit/7811ef602ecd963ae333e3427c82629d1c8e9f34 is the source of the problems: why renaming static libraries, if those are the names that CMake is then really looking for?\r\nAs an example, now we rename \r\n```\r\nx86-windows-static/libboost_thread-vc140-mt-s-1_64.lib\r\n```\r\ninto\r\n```\r\nx86-windows-static/boost_thread-vc140-mt-1_64.lib.\r\n```\r\nBut this is wrong: boost_thread-vc140-mt-1_64.lib is known to CMake to be the filename of an import library (allowing dynamic linking with boost_thread-vc140-mt-1_64.dll), while *libboost_thread-vc140-mt-s-1_64.lib* should be the name of the static library (also with the -s, meaning it's statically linked with CRT).\r\nIn this way, if I configure CMake to look for static linking with boost, it cannot find the libraries.\r\n\r\nWhat is the original reason of this renaming? Since CMake looks for these filenames, while should we break it?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/comments/362885503","html_url":"https://github.com/Microsoft/vcpkg/issues/1338#issuecomment-362885503","issue_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/1338","id":362885503,"user":{"login":"MikeGitb","id":13987901,"avatar_url":"https://avatars2.githubusercontent.com/u/13987901?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeGitb","html_url":"https://github.com/MikeGitb","followers_url":"https://api.github.com/users/MikeGitb/followers","following_url":"https://api.github.com/users/MikeGitb/following{/other_user}","gists_url":"https://api.github.com/users/MikeGitb/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeGitb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeGitb/subscriptions","organizations_url":"https://api.github.com/users/MikeGitb/orgs","repos_url":"https://api.github.com/users/MikeGitb/repos","events_url":"https://api.github.com/users/MikeGitb/events{/privacy}","received_events_url":"https://api.github.com/users/MikeGitb/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T06:54:51Z","updated_at":"2018-02-04T06:54:51Z","author_association":"NONE","body":"Thanks for the detailed explanation."}}
{"actor":{"display_login":"MikeGitb"}}