diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-11 15:58:32 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-11 12:23:00 +0100 |
commit | ec41342e3dea6e2137a0fc17288e2be77710a631 (patch) | |
tree | e5fb7f5b25bd8965b0aa95dbf5c60c2b95795532 | |
parent | 054be736d4773804b51ed67d6b7fe0e1b15d1d1b (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.include | 1 |
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) |