Commit 36f017af authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

js2c: fix module id generation on windows

Fix a regression that was introduced in commit 2db758c5 ("iojs: introduce
internal modules") where the computed id for "config.gypi" on Windows
was not "config" but an empty string.

With an empty string, the build succeeds but the binary is unusable:
startup.processConfig() in src/node.js chokes on the missing .config
property.

PR-URL: https://github.com/iojs/io.js/pull/1281


Reviewed-By: default avatarVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
parent 2903410a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment