From ec41342e3dea6e2137a0fc17288e2be77710a631 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 11 Dec 2013 15:58:32 +0100 Subject: build: pass correct defs and include path to moc To make sure the right slots are generated, MOC needs -DHAVE_CONFIG_H and correct include path to include bitcoin-config.h. --- src/Makefile.include | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.include') diff --git a/src/Makefile.include b/src/Makefile.include index b9e6c262ca..070902c519 100644 --- a/src/Makefile.include +++ b/src/Makefile.include @@ -12,6 +12,7 @@ LIBBITCOIN_CLI=$(top_builddir)/src/libbitcoin_cli.a LIBLEVELDB=$(top_builddir)/src/leveldb/libleveldb.a LIBMEMENV=$(top_builddir)/src/leveldb/libmemenv.a LIBBITCOINQT=$(top_builddir)/src/qt/libbitcoinqt.a +MOC_DEFS=$(DEFS) -I$(top_srcdir)/src $(LIBBITCOIN): $(MAKE) -C $(top_builddir)/src $(@F) -- cgit v1.2.3