summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-06-29 21:34:05 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-06-29 21:34:05 +0200
commit8ed1f13997c5188f3c49ec6717a9948c0e2db63b (patch)
tree43bb44594e6ec5f01f208a698fc8f9c1294930ed
parentef2a9f22cc5e0139194de6fa57b9b09cd018b01a (diff)
downloadcurl-dfandrich/test1521-path.tar.gz
test1521: fix out-of-tree builds, broken with 467da3afdfandrich/test1521-path
The test.h file is no longer in the same directory as the source file, so that directory needs to be added to the include path.
-rw-r--r--tests/libtest/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index 05a81d3c0..2a8dfc216 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -370,7 +370,7 @@ lib1520_SOURCES = lib1520.c $(SUPPORTFILES)
lib1520_CPPFLAGS = $(AM_CPPFLAGS) -DLIB1520
lib1521_SOURCES = lib1521.c $(SUPPORTFILES)
-lib1521_CPPFLAGS = $(AM_CPPFLAGS)
+lib1521_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)
lib1525_SOURCES = lib1525.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
lib1525_LDADD = $(TESTUTIL_LIBS)