Re: Win32 Build Quirks

From: Date: Mon, 30 Dec 2002 09:03:38 +0000
Subject: Re: Win32 Build Quirks
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-92972@lists.php.net to get a copy of this message
At 20:12 29/12/2002, Michael Sisolak wrote:
Zeev Suraski wrote: It's zlib. I'm not sure why people relied on users having zlib installed as a part of their standard libraries under Windows, but it's not a reasonable assumption... checkout zlib, build it (under both Release and Debug), delete *.lib and *.dll from your PHP output directory, and relink. I configured the zlib project to work properly with PHP. Zeev, The current win32build tools has a zlibstat.lib in the lib directory.
So it's broken. But generally, I don't want any code that's required to build PHP under Windows not to be available in source, and from php.net.
If I copy that to also be called zlib.lib then the release 4.3.0 build correctly. Should we be linking to zlibstat.lib instead of zlib.lib or updating win32build to include whatever zlib.lib it should link to? I would imagine that most Win32 builds will now fail (unless they happen to have a zlib.lib in their library path).
I don't have a preference. We can change zlib.dsp to build zlibstat.lib instead of zlib.lib and link with zlibstat.lib, if that would solve the problem... Zeev

« previous php.dev (#92972) next »