aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-06-29 21:34:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-30 10:51:20 +0200
commit77970f484da672df96bfea5f9a3b76db00a377dc (patch)
treec5c52341213970bbb06182c5e2602e5a4266edeb /tests/libtest
parentc98e97e9c32b7c55d9002860655bdd7fb5eefd66 (diff)
downloadgnurl-77970f484da672df96bfea5f9a3b76db00a377dc.tar.gz
gnurl-77970f484da672df96bfea5f9a3b76db00a377dc.tar.bz2
gnurl-77970f484da672df96bfea5f9a3b76db00a377dc.zip
test1521: fix out-of-tree builds, broken with 467da3af
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. Fixes #1627 Closes #1628
Diffstat (limited to 'tests/libtest')
-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)