From: Dan Fandrich Date: Thu, 29 Jun 2017 19:34:05 +0000 (+0200) Subject: test1521: fix out-of-tree builds, broken with 467da3af X-Git-Tag: curl-7_55_0~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77970f484da672df96bfea5f9a3b76db00a377dc;p=thirdparty%2Fcurl.git 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 --- diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 05a81d3c0d..2a8dfc2168 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)