summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/filepro/Makefile.in1
-rw-r--r--ext/filepro/config.m44
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/filepro/Makefile.in b/ext/filepro/Makefile.in
index efa4ac7a2b..8fe3a41a93 100644
--- a/ext/filepro/Makefile.in
+++ b/ext/filepro/Makefile.in
@@ -1,5 +1,6 @@
LTLIBRARY_NAME = libfilepro.la
LTLIBRARY_SOURCES = filepro.c
+LTLIBRARY_SHARED_NAME = filepro.la
include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/filepro/config.m4 b/ext/filepro/config.m4
index cb04525269..314fbd1aaf 100644
--- a/ext/filepro/config.m4
+++ b/ext/filepro/config.m4
@@ -7,7 +7,5 @@ PHP_ARG_ENABLE(filepro,whether to enable the bundled filePro support,
if test "$PHP_FILEPRO" = "yes"; then
AC_DEFINE(HAVE_FILEPRO, 1, [ ])
- PHP_EXTENSION(filepro)
-else
- AC_DEFINE(HAVE_FILEPRO, 0, [ ])
+ PHP_EXTENSION(filepro, $ext_shared)
fi