Skip to content

Commit

Permalink
src: s/ia32/x86 for process.release.libUrl for win
Browse files Browse the repository at this point in the history
PR-URL: #2699
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org>
  • Loading branch information
rvagg committed Sep 12, 2015
1 parent 618caa5 commit ac98e13
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2760,22 +2760,25 @@ void SetupProcessObject(Environment* env,
#endif

#if defined(NODE_RELEASE_URLBASE)
# define _RELEASE_URLPFX NODE_RELEASE_URLBASE "v" NODE_VERSION_STRING "/"
# define _RELEASE_URLFPFX _RELEASE_URLPFX "iojs-v" NODE_VERSION_STRING
# define NODE_RELEASE_URLPFX NODE_RELEASE_URLBASE "v" NODE_VERSION_STRING "/"
# define NODE_RELEASE_URLFPFX NODE_RELEASE_URLPFX "iojs-v" NODE_VERSION_STRING

READONLY_PROPERTY(release,
"sourceUrl",
OneByteString(env->isolate(),
_RELEASE_URLFPFX ".tar.gz"));
NODE_RELEASE_URLFPFX ".tar.gz"));
READONLY_PROPERTY(release,
"headersUrl",
OneByteString(env->isolate(),
_RELEASE_URLFPFX "-headers.tar.gz"));
NODE_RELEASE_URLFPFX "-headers.tar.gz"));
# ifdef _WIN32
READONLY_PROPERTY(release,
"libUrl",
OneByteString(env->isolate(),
_RELEASE_URLPFX "win-" NODE_ARCH "/iojs.lib"));
strcmp(NODE_ARCH, "ia32") ? NODE_RELEASE_URLPFX "win-"
NODE_ARCH "/iojs.lib"
: NODE_RELEASE_URLPFX
"win-x86/iojs.lib"));
# endif
#endif

Expand Down

0 comments on commit ac98e13

Please sign in to comment.