]> granicus.if.org Git - curl/commitdiff
test1521: fix out-of-tree builds, broken with 467da3af
authorDan Fandrich <dan@coneharvesters.com>
Thu, 29 Jun 2017 19:34:05 +0000 (21:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jun 2017 08:51:20 +0000 (10:51 +0200)
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

tests/libtest/Makefile.inc

index 05a81d3c0d83d3de5a3b2204657dd8b10c41e61f..2a8dfc21685f01f31729908b5debcee1cf1a7ec0 100644 (file)
@@ -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)