summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 8c47e9d87d..0a4088b27e 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -21,6 +21,10 @@
#include <stdlib.h>
+#ifdef PIC
+# define COMPILE_DL 1
+#endif
+
#include "php.h"
#include "php3_pgsql.h"
#include "ext/standard/php3_standard.h"