summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-20 19:49:21 +0000
committerMarcus Boerger <helly@php.net>2004-01-20 19:49:21 +0000
commitb0320c6032c4be07b8f0766c658d6c18bd657674 (patch)
tree60b10ad6ab7914f70e41997ca4ac8c4a6be16a1b
parent8691f86cb822e4fd6d6b679d0c46b177d4327cdb (diff)
downloadphp-git-b0320c6032c4be07b8f0766c658d6c18bd657674.tar.gz
Prevent shared builds under windows too
-rw-r--r--ext/spl/config.w323
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);
}