Browse Source

Make dbase compilable as shared module

PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
b2e90b4e8b
  1. 1
      ext/dbase/Makefile.in
  2. 4
      ext/dbase/config.m4

1
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

4
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
Loading…
Cancel
Save