From 91841731af44a8cbf93399d0344e4af1b389d020 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 3 Feb 2010 19:21:12 +0100 Subject: [PATCH] fix building out of source tree by proving better include path when building out of source tree, we provide -I$(top_builddir)/example since the libssh2_config.h gets generated in that dir --- example/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/Makefile.am b/example/Makefile.am index 367e4ad..c039d4e 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -12,5 +12,5 @@ noinst_PROGRAMS = direct_tcpip ssh2 \ sftp_RW_nonblock \ sftpdir sftpdir_nonblock ssh2_exec ssh2_agent -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/example LDADD = $(top_builddir)/src/libssh2.la