summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2003-12-31 19:28:31 +0000
committerFrank M. Kromann <fmk@php.net>2003-12-31 19:28:31 +0000
commit0b91485ed5edff920135a287410f2fba3bfa5f3e (patch)
tree78845ac27eaf702b012cde8eda60899c16eafd22
parent865738238fcaf891a5bea86612963b74e7f68bb6 (diff)
downloadphp-git-0b91485ed5edff920135a287410f2fba3bfa5f3e.tar.gz
Make sure zlib.lib is found
-rw-r--r--ext/gd/config.w322
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/config.w32 b/ext/gd/config.w32
index fe460cc379..939b7b52bd 100644
--- a/ext/gd/config.w32
+++ b/ext/gd/config.w32
@@ -7,7 +7,7 @@ if (PHP_GD != "no") {
if (CHECK_LIB("libjpeg.lib", "gd", PHP_GD) &&
CHECK_LIB("freetype2.lib", "gd", PHP_GD) &&
CHECK_LIB("libpng.lib", "gd", PHP_GD) &&
- CHECK_LIB("zlib.lib", "gd", PHP_GD) &&
+ CHECK_LIB("zlib.lib", "gd", PHP_GD + ";..\\zlib;" + php_usual_lib_suspects) &&
CHECK_HEADER_ADD_INCLUDE("gd.h", "CFLAGS_GD", PHP_GD + ";ext\\gd\\libgd")) {
EXTENSION("gd", "gd.c gdttf.c", null, "-Iext/gd/libgd", "php_gd2.dll");