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
# $(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
/* curl stuff */
#include <curl/curl.h>
-#include "../../../lib/curl_setup.h"
+#include "curl_setup.h"
#ifdef USE_WEBSOCKETS
/* curl stuff */
#include <curl/curl.h>
-#include "../../../lib/curl_setup.h"
+#include "curl_setup.h"
#ifdef USE_WEBSOCKETS