From 492dec7ea5d21e083bbdac7041333052bc28f90f Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 25 Apr 2008 01:05:07 +0000 Subject: Fix building examples when using a VPATH build git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651474 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am index 540e092ea2..c34100680c 100644 --- a/cpp/examples/Makefile.am +++ b/cpp/examples/Makefile.am @@ -57,7 +57,7 @@ abs_top_srcdir=@abs_top_srcdir@ # Build the examples - copy sources to the build tree in VPATH build. all-local: test -d examples || cp -R $(srcdir)/examples . - cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -I../../$(top_srcdir)/src -I../../$(top_srcdir)/src/gen -I../../$(top_builddir)/src/gen -L../../$(top_builddir)/src/.libs -Wl,-rpath,$(abs_top_builddir)/src/.libs" all + cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -I$(abs_top_srcdir)/src -I$(abs_top_srcdir)/src/gen -I$(abs_top_builddir)/src -I$(abs_top_builddir)/src/gen -L$(abs_top_builddir)/src/.libs -Wl,-rpath,$(abs_top_builddir)/src/.libs" all # FIXME aconway 2008-03-25: Re-enable when python client has been fixed # to find .spec via PYTHONPATH. -- cgit v1.2.1