File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2727,22 +2727,25 @@ void SetupProcessObject(Environment* env,
27272727#endif
27282728
27292729#if defined(NODE_RELEASE_URLBASE)
2730- # define _RELEASE_URLPFX NODE_RELEASE_URLBASE " v" NODE_VERSION_STRING " /"
2731- # define _RELEASE_URLFPFX _RELEASE_URLPFX " node-v" NODE_VERSION_STRING
2730+ # define NODE_RELEASE_URLPFX NODE_RELEASE_URLBASE " v" NODE_VERSION_STRING " /"
2731+ # define NODE_RELEASE_URLFPFX NODE_RELEASE_URLPFX " node-v" NODE_VERSION_STRING
27322732
27332733 READONLY_PROPERTY (release,
27342734 " sourceUrl" ,
27352735 OneByteString (env->isolate (),
2736- _RELEASE_URLFPFX " .tar.gz" ));
2736+ NODE_RELEASE_URLFPFX " .tar.gz" ));
27372737 READONLY_PROPERTY (release,
27382738 " headersUrl" ,
27392739 OneByteString (env->isolate (),
2740- _RELEASE_URLFPFX " -headers.tar.gz" ));
2740+ NODE_RELEASE_URLFPFX " -headers.tar.gz" ));
27412741# ifdef _WIN32
27422742 READONLY_PROPERTY (release,
27432743 " libUrl" ,
27442744 OneByteString (env->isolate (),
2745- _RELEASE_URLPFX " win-" NODE_ARCH " /node.lib" ));
2745+ strcmp (NODE_ARCH, " ia32" ) ? NODE_RELEASE_URLPFX " win-"
2746+ NODE_ARCH " /node.lib"
2747+ : NODE_RELEASE_URLPFX
2748+ " win-x86/node.lib" ));
27462749# endif
27472750#endif
27482751
You can’t perform that action at this time.
0 commit comments