{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejs/node-gyp/issues/1431","repository_url":"https://api.github.com/repos/nodejs/node-gyp","labels_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1431/comments","events_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1431/events","html_url":"https://github.com/nodejs/node-gyp/issues/1431","id":320269129,"number":1431,"title":"Link a static library on windows","user":{"login":"ArosPrince","id":25080989,"avatar_url":"https://avatars2.githubusercontent.com/u/25080989?v=4","gravatar_id":"","url":"https://api.github.com/users/ArosPrince","html_url":"https://github.com/ArosPrince","followers_url":"https://api.github.com/users/ArosPrince/followers","following_url":"https://api.github.com/users/ArosPrince/following{/other_user}","gists_url":"https://api.github.com/users/ArosPrince/gists{/gist_id}","starred_url":"https://api.github.com/users/ArosPrince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArosPrince/subscriptions","organizations_url":"https://api.github.com/users/ArosPrince/orgs","repos_url":"https://api.github.com/users/ArosPrince/repos","events_url":"https://api.github.com/users/ArosPrince/events{/privacy}","received_events_url":"https://api.github.com/users/ArosPrince/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T13:10:26Z","updated_at":"2018-05-04T13:10:26Z","closed_at":null,"author_association":"NONE","body":"I have seen several topics here on the subject and also some on the stack overflow, but none of them have an accepted answer or any conclusive material for me to solve the issue so sorry another duplicate...\r\n\r\nI am doing a custom build of nodejs and I need to link a static library to the node executable. This is Windows so the static library is .lib.\r\n\r\nI have added this line in the node target:\r\n`'libraries' : [ \"c:/devel/node-v8.11.1/custom/fastcall/build/src/Release/fastcall.lib\" ],`\r\n\r\nbut it doesn't seem to do anything. I still get \"unresolved externals\". Now, I don't fully understand how node-gyp generates the VS project but I would expect it to put the lib reference to the project somewhere (most likely in Librarian section of the project properties). However it's not there. I have even fulltext-searched the whole node folder and the node.gyp line above seems to be all there is. Thus it's not put anywhere else in the project or anywhere else.\r\n\r\nNote: I have intentionally put fullpath in there so as to avoid problems but that doesn't seem to be an issue at this point.\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"ArosPrince"}}