From b0320c6032c4be07b8f0766c658d6c18bd657674 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 20 Jan 2004 19:49:21 +0000 Subject: [PATCH] Prevent shared builds under windows too --- ext/spl/config.w32 | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.50.1