diff --git a/ext/dbase/Makefile.in b/ext/dbase/Makefile.in index 0fe66dbda43..780cf37fda3 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 8723b2e9f4f..7a33750b90d 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