cURL / Mailing Lists / curl-library / Single Mail

curl-library

[Patch] src/Makefile.vc6

From: Cody Mack <codywmack_at_gmail.com>
Date: Thu, 27 Mar 2014 21:29:21 -0400

Hi,

The commit 6239146e931fd3127f6994975a56d1b4884a708a added warnless.c
to src/Makefile.inc but src/Makefile.vc6 was not updated, resulting in
the MSVC linker not being able to link dynamically to _curlx_read.
Patch:

diff --git a/src/Makefile.vc6 b/src/Makefile.vc6
index 48331de..5f2dc12 100644
--- a/src/Makefile.vc6
+++ b/src/Makefile.vc6
@@ -139,6 +139,7 @@ RELEASE_OBJS= \
  nonblockr.obj \
  rawstrr.obj \
  strtoofftr.obj \
+ warnlessr.obj \
  tool_binmoder.obj \
  tool_bnamer.obj \
  tool_cb_dbgr.obj \
@@ -183,6 +184,7 @@ DEBUG_OBJS= \
  nonblockd.obj \
  rawstrd.obj \
  strtoofftd.obj \
+ warnlessd.obj \
  tool_binmoded.obj \
  tool_bnamed.obj \
  tool_cb_dbgd.obj \
@@ -359,6 +361,8 @@ rawstrr.obj: ../lib/rawstr.c
  $(CCR) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
 strtoofftr.obj: ../lib/strtoofft.c
  $(CCR) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
+warnlessr.obj: ../lib/warnless.c
+ $(CCR) $(CFLAGS) /Fo"$@" ../lib/warnless.c
 tool_binmoder.obj: tool_binmode.c
  $(CCR) $(CFLAGS) /Fo"$@" tool_binmode.c
 tool_bnamer.obj: tool_bname.c
@@ -445,6 +449,8 @@ rawstrd.obj: ../lib/rawstr.c
  $(CCD) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
 strtoofftd.obj: ../lib/strtoofft.c
  $(CCD) $(CFLAGS) /Fo"$@" ../lib/strtoofft.c
+warnlessd.obj: ../lib/warnless.c
+ $(CCD) $(CFLAGS) /Fo"$@" ../lib/warnless.c
 tool_binmoded.obj: tool_binmode.c
  $(CCD) $(CFLAGS) /Fo"$@" tool_binmode.c
 tool_bnamed.obj: tool_bname.c

--
Thanks.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-28