Skip to content

Commit ec41342

Browse files
committed
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.
1 parent 054be73 commit ec41342

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Makefile.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LIBBITCOIN_CLI=$(top_builddir)/src/libbitcoin_cli.a
1212
LIBLEVELDB=$(top_builddir)/src/leveldb/libleveldb.a
1313
LIBMEMENV=$(top_builddir)/src/leveldb/libmemenv.a
1414
LIBBITCOINQT=$(top_builddir)/src/qt/libbitcoinqt.a
15+
MOC_DEFS=$(DEFS) -I$(top_srcdir)/src
1516

1617
$(LIBBITCOIN):
1718
$(MAKE) -C $(top_builddir)/src $(@F)

0 commit comments

Comments
 (0)