aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-12-11 15:58:32 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-11 12:23:00 +0100
commitec41342e3dea6e2137a0fc17288e2be77710a631 (patch)
treee5fb7f5b25bd8965b0aa95dbf5c60c2b95795532
parent054be736d4773804b51ed67d6b7fe0e1b15d1d1b (diff)
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.
-rw-r--r--src/Makefile.include1
1 files changed, 1 insertions, 0 deletions
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)