summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/dbase/Makefile.in1
-rw-r--r--ext/dbase/config.m44
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/dbase/Makefile.in b/ext/dbase/Makefile.in
index 0fe66dbda4..780cf37fda 100644
--- a/ext/dbase/Makefile.in
+++ b/ext/dbase/Makefile.in
@@ -1,5 +1,6 @@
LTLIBRARY_NAME = libdbase.la
LTLIBRARY_SOURCES = dbf_head.c dbf_rec.c dbf_misc.c dbf_ndx.c dbase.c
+LTLIBRARY_SHARED_NAME = dbase.la
include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/dbase/config.m4 b/ext/dbase/config.m4
index 8723b2e9f4..7a33750b90 100644
--- a/ext/dbase/config.m4
+++ b/ext/dbase/config.m4
@@ -7,7 +7,5 @@ PHP_ARG_ENABLE(dbase,whether to enable the bundled dbase library,
if test "$PHP_DBASE" = "yes"; then
AC_DEFINE(DBASE,1,[ ])
- PHP_EXTENSION(dbase)
-else
- AC_DEFINE(DBASE,0,[ ])
+ PHP_EXTENSION(dbase, $ext_shared)
fi