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
This commit is contained in:
Daniel Stenberg 2010-02-03 19:21:12 +01:00
parent a190437c4a
commit 91841731af

View File

@ -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