From 0fd1e1644419d3b28f0febb43e210672f9ee63ea Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 2 Apr 2014 08:00:11 -0400 Subject: [PATCH] try to push sysroot in correctly c++ --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c2d2dfcabf..225c372158 100644 --- a/configure.ac +++ b/configure.ac @@ -253,6 +253,7 @@ AC_SUBST(CC_FOR_BUILD) if test -n "$lt_sysroot" ; then APR_ADDTO(CFLAGS, --sysroot=$lt_sysroot) APR_ADDTO(CXXFLAGS, --sysroot=$lt_sysroot) + APR_ADDTO(CPPFLAGS, --sysroot=$lt_sysroot) APR_ADDTO(LDFLAGS, --sysroot=$lt_sysroot) PKG_CONFIG_SYSROOT_DIR=$lt_sysroot fi