summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-04-25 01:05:07 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-04-25 01:05:07 +0000
commit492dec7ea5d21e083bbdac7041333052bc28f90f (patch)
tree37e6dfe13d55c2e1d520039c79ec1715a48f5ccf /cpp
parent87c6d2c76c551da2c264a751d41b5aeba8492b79 (diff)
downloadqpid-python-492dec7ea5d21e083bbdac7041333052bc28f90f.tar.gz
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
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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.