build: Remove -I for everything but project root

Remove -I from build system for everything but the project root,
and built-in dependencies.
This commit is contained in:
Wladimir J. van der Laan
2017-08-15 16:40:30 +02:00
committed by MeshCollider
parent 5b56ec969f
commit 0c715214dd
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ BITCOIN_TESTS += \
endif
test_test_bitcoin_SOURCES = $(BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
test_test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -I$(builddir)/test/ $(TESTDEFS) $(EVENT_CFLAGS)
test_test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EVENT_CFLAGS)
test_test_bitcoin_LDADD =
if ENABLE_WALLET
test_test_bitcoin_LDADD += $(LIBBITCOIN_WALLET)