com php-src: fix shared compilation: ext/zlib/config.w32

From: Date: Mon, 23 Mar 2015 14:09:03 +0000
Subject: com php-src: fix shared compilation: ext/zlib/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85827@lists.php.net to get a copy of this message
Commit: 7a137154590e2a689076ee1ccaf2728da28def4e Author: Anatol Belski <ab@php.net> Mon, 23 Mar 2015 13:08:32 +0100 Parents: f195870a9e0bb8091f64fab80bf99478fe679f89 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7a137154590e2a689076ee1ccaf2728da28def4e Log: fix shared compilation Changed paths: M ext/zlib/config.w32 Diff: diff --git a/ext/zlib/config.w32 b/ext/zlib/config.w32 index 1a57aa6..820025a 100644 --- a/ext/zlib/config.w32 +++ b/ext/zlib/config.w32 @@ -7,7 +7,7 @@ if (PHP_ZLIB == "yes") { if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) && CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) { - EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", null, "/D ZLIB_EXPORTS /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); + EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", PHP_ZLIB_SHARED, "/D ZLIB_EXPORTS /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); AC_DEFINE("HAVE_ZLIB", 1, "ZLIB support"); if (!PHP_ZLIB_SHARED) {

« previous php.cvs (#85827) next »