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.
This commit is contained in:
parent
054be736d4
commit
ec41342e3d
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue