summaryrefslogtreecommitdiff
path: root/ext/mysql/mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/mysql.c')
-rw-r--r--ext/mysql/mysql.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysql/mysql.c b/ext/mysql/mysql.c
index ff66ba7483..ce8545a2e4 100644
--- a/ext/mysql/mysql.c
+++ b/ext/mysql/mysql.c
@@ -24,6 +24,10 @@
* ? Safe mode implementation
*/
+#ifdef PIC
+# define COMPILE_DL 1
+#endif
+
#if COMPILE_DL
#include "dl/phpdl.h"
#endif