diff options
Diffstat (limited to 'ext/zip/config.w32')
| -rw-r--r-- | ext/zip/config.w32 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 2880f6b216..e698f94f3a 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -31,6 +31,9 @@ if (PHP_ZIP != "no") { AC_DEFINE('HAVE_ZLIB', 1); AC_DEFINE('HAVE_ZIP', 1); + if (PHP_ZIP_SHARED) { + ADD_FLAG("CFLAGS_ZIP", "/D PHP_ZIP_EXPORTS "); + } } else { WARNING("zip not enabled; libraries and headers not found"); } |
