From: Marcus Boerger Date: Tue, 20 Jan 2004 19:49:21 +0000 (+0000) Subject: Prevent shared builds under windows too X-Git-Tag: php_ibase_before_split~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0320c6032c4be07b8f0766c658d6c18bd657674;p=php Prevent shared builds under windows too --- 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); }