summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 66ea4a043d..b270adc1ea 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -18,6 +18,12 @@
/* $Id$ */
#define IS_EXT_MODULE
+
+/* boldly assume that if PIC is defined, we are being compiled dynamically */
+#ifdef PIC
+# define COMPILE_DL 1
+#endif
+
#if COMPILE_DL
# if PHP_31
# include "../phpdl.h"