mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 04:45:30 +08:00
Fix pkg-config Cflags
Previously we needed the cflags to include the original HAVE_ICONV value so that MdbHandle looked the same to client applications as it did to the compiled library. Now we use a .in file for the header so that these definitions are not necessary when the client is compiling.
This commit is contained in:
parent
3ad1669b2e
commit
148eed1546
@ -13,7 +13,6 @@ MDBTOOLS_VERSION_MICRO=0
|
||||
# See https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
||||
VERSION_INFO=4:0:0
|
||||
AC_SUBST(VERSION_INFO)
|
||||
AC_SUBST(MDBTOOLS_CFLAGS)
|
||||
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
AM_SILENT_RULES([yes])
|
||||
|
@ -12,4 +12,4 @@ Description: core MDB file support library
|
||||
Requires: @GLIB_PACKAGE@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lmdb
|
||||
Cflags: @MDBTOOLS_CFLAGS@
|
||||
Cflags: -I${includedir}
|
||||
|
@ -12,5 +12,4 @@ Description: libmdb based SQL engine
|
||||
Requires: libmdb
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lmdbsql
|
||||
Cflags:
|
||||
|
||||
Cflags: -I${includedir}
|
||||
|
Loading…
Reference in New Issue
Block a user