link to rpcrt4 and ole32 on win32
authorRyan Dahl <ry@tinyclouds.org>
Mon, 1 Aug 2011 01:19:37 +0000 (18:19 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 1 Aug 2011 01:19:37 +0000 (18:19 -0700)
wscript

diff --git a/wscript b/wscript
index 6d0c108..68a80e2 100644 (file)
--- a/wscript
+++ b/wscript
@@ -493,6 +493,10 @@ def configure(conf):
   if sys.platform.startswith("win32"):
     conf.env.append_value('LIB', 'ws2_32')
     conf.env.append_value('LIB', 'winmm')
+    # remove the next two lines when this issue is fixed:
+    # https://github.com/joyent/libuv/issues/118
+    conf.env.append_value('LIB', 'rpcrt4')
+    conf.env.append_value('LIB', 'ole32')
 
   conf.env.append_value('CPPFLAGS', '-Wno-unused-parameter');
   conf.env.append_value('CPPFLAGS', '-D_FORTIFY_SOURCE=2');