Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Include the node.lib file at link time on Windows. #2685

Closed
wants to merge 3 commits into from
Closed

Include the node.lib file at link time on Windows. #2685

wants to merge 3 commits into from

Conversation

TooTallNate
Copy link

Makes the basic gyp_addon script work with Windows.

The "Debug" dir is currently hard-coded. A better way would be to use the currently selected "configuration" that gyp is executing, but I could not figure out how to get a variable of the configuration. If someone knows a way to get the Debug/Release value through gyp then that would be great.

Makes the basic `gyp_addon` script work with Windows.

The "Debug" dir is currently hard-coded. A better way would be to use
the currently selected "configuration" that gyp is executing, but I could not
figure out how to get a variable of the configuration...
@TooTallNate
Copy link
Author

@piscisaureus Ok I have updated this to use the proper "Configuration" value, and not be hard-coded. Tested and works. Works with node-gyp as well!

TooTallNate added a commit to nodejs/node-gyp that referenced this pull request Feb 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants