aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c80e4a8e8..24e07d6c8 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -12,7 +12,9 @@ EXTRA_DIST = getdate.y \
lib_LTLIBRARIES = libcurl.la
-INCLUDES = -I$(top_srcdir)/include
+# we use srcdir/include for the static global include files
+# we use builddir/lib for the generated lib/config.h file to get found
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib
libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0
# This flag accepts an argument of the form current[:revision[:age]]. So,