[libgda/wip/lantw/fix-bdb-and-sqlite-builds: 2/2] Autotools: Fix BDB provider build



commit 412b28fd1b0aba3c9004e1b9dac04c79433c9039
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sat Sep 22 14:41:05 2018 +0800

    Autotools: Fix BDB provider build
    
    The macro was added in commit 5dc43794ae27c9812a5bd70850abc72a4be485eb,
    but it is only defined in Meson build.

 providers/bdb/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/providers/bdb/Makefile.am b/providers/bdb/Makefile.am
index b4b878f2f..d4aca6923 100644
--- a/providers/bdb/Makefile.am
+++ b/providers/bdb/Makefile.am
@@ -25,6 +25,9 @@ libgda_bdb_la_LIBADD = \
 noinst_PROGRAMS = gda-bdb-test
 
 gda_bdb_test_SOURCES = gda-bdb-test.c
+gda_bdb_test_CPPFLAGS = \
+       $(AM_CPPFLAGS) \
+       -DBDB_CURRENT_BUILDDIR=\"$(abs_builddir)\"
 gda_bdb_test_LDADD = \
        $(COREDEPS_LIBS) \
        $(BDB_LIBS) \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]