From: Michael Wallner Date: Tue, 1 Nov 2005 15:48:17 +0000 (+0000) Subject: - fix build on win32; linkler flag /FORCE:MULTIPLE will generate an image, even if... X-Git-Tag: RELEASE_0_17_0~7 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=5f7061a515a21abec1cf742f25a68967516e21cb - fix build on win32; linkler flag /FORCE:MULTIPLE will generate an image, even if curl and php export zlibs symbols --- diff --git a/config.w32 b/config.w32 index 5f176d5..1cc13f5 100644 --- a/config.w32 +++ b/config.w32 @@ -24,6 +24,7 @@ if (PHP_HTTP != "no") { if (CHECK_HEADER_ADD_INCLUDE('zlib.h', 'CFLAGS_HTTP')) { AC_DEFINE('HTTP_HAVE_ZLIB', 1, "Have zlib library"); + ADD_FLAG("LDFLAGS_HTTP", "/FORCE:MULTIPLE"); } else { WARNING("zlib encoding functions not enabled; libraries and headers not found"); }