mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-02-26 22:02:43 +08:00
Add a shim implementing half-assed versions of most of the GLib functions used by MDB Tools. If GLib is detected at compile-time, use it, otherwise use the shim. This work is not complete, as the option-parsing code is not yet implemented - so most of the command-line tools crash.
9 lines
440 B
Makefile
9 lines
440 B
Makefile
lib_LTLIBRARIES = libmdb.la
|
|
libmdb_la_SOURCES= catalog.c mem.c file.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c
|
|
if !HAVE_GLIB
|
|
libmdb_la_SOURCES += fakeglib.c
|
|
endif
|
|
libmdb_la_LDFLAGS = -version-info 2:1:0 -export-symbols-regex '^(mdb_|_mdb_put_int16$$|_mdb_put_int32$$)'
|
|
AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
|
|
LIBS = $(GLIB_LIBS) @LIBS@ @LIBICONV@
|