1 Use CXXFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for the tools since expat
2 may not be living in the default include & library path.
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6 diff -Nura libdbus-c++-0.9.0.orig/configure.ac libdbus-c++-0.9.0/configure.ac
7 --- libdbus-c++-0.9.0.orig/configure.ac 2014-01-05 15:28:03.653886567 -0300
8 +++ libdbus-c++-0.9.0/configure.ac 2014-01-05 15:44:32.571172225 -0300
12 CXX_FOR_BUILD=${CXX_FOR_BUILD-${CXX}}
13 +CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
14 +LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
15 AC_SUBST(CXX_FOR_BUILD)
16 +AC_SUBST(CXXFLAGS_FOR_BUILD)
17 +AC_SUBST(LDFLAGS_FOR_BUILD)
21 diff -Nura libdbus-c++-0.9.0.orig/tools/Makefile.am libdbus-c++-0.9.0/tools/Makefile.am
22 --- libdbus-c++-0.9.0.orig/tools/Makefile.am 2014-01-05 15:28:03.652886535 -0300
23 +++ libdbus-c++-0.9.0/tools/Makefile.am 2014-01-05 15:44:42.071482390 -0300
27 CXX = $(CXX_FOR_BUILD)
28 +CXXFLAGS = $(CXXFLAGS_FOR_BUILD)
29 +LDFLAGS = $(LDFLAGS_FOR_BUILD)