mirror of
https://github.com/curl/curl.git
synced 2026-07-23 16:47:15 +03:00
tests/http: fix out-of-tree builds
Add both lib/ directories (src & build) to the search path so
curl_setup.h and its dependencies can be found.
Followup-to acd82c8b
Ref: #11006
Closes #11036
This commit is contained in:
parent
b7b1846275
commit
2572e1333e
3 changed files with 4 additions and 2 deletions
|
|
@ -33,6 +33,8 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||
# $(top_srcdir)/include is for libcurl's external include files
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/lib \
|
||||
-I$(top_srcdir)/lib \
|
||||
-DCURL_DISABLE_DEPRECATION
|
||||
|
||||
LIBDIR = $(top_builddir)/lib
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
/* curl stuff */
|
||||
#include <curl/curl.h>
|
||||
#include "../../../lib/curl_setup.h"
|
||||
#include "curl_setup.h"
|
||||
|
||||
#ifdef USE_WEBSOCKETS
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
/* curl stuff */
|
||||
#include <curl/curl.h>
|
||||
#include "../../../lib/curl_setup.h"
|
||||
#include "curl_setup.h"
|
||||
|
||||
#ifdef USE_WEBSOCKETS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue