diff options
| author | Marcus Boerger <helly@php.net> | 2004-01-20 19:49:21 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-01-20 19:49:21 +0000 |
| commit | b0320c6032c4be07b8f0766c658d6c18bd657674 (patch) | |
| tree | 60b10ad6ab7914f70e41997ca4ac8c4a6be16a1b | |
| parent | 8691f86cb822e4fd6d6b679d0c46b177d4327cdb (diff) | |
| download | php-git-b0320c6032c4be07b8f0766c658d6c18bd657674.tar.gz | |
Prevent shared builds under windows too
| -rw-r--r-- | ext/spl/config.w32 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/spl/config.w32 b/ext/spl/config.w32 index 3066d2ef9f..d69471a717 100644 --- a/ext/spl/config.w32 +++ b/ext/spl/config.w32 @@ -4,6 +4,9 @@ ARG_ENABLE("spl", "SPL (Standard PHP Library) support", "yes"); if (PHP_SPL != "no") { + if (PHP_SPL_SHARED) { + ERROR("SPL cannot be compiled as a shared ext"); + } EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c"); AC_DEFINE('HAVE_SPL', 1); } |
