try to push sysroot in correctly c++

This commit is contained in:
Michael Jerris 2014-04-02 08:00:11 -04:00
parent b5a7bbec7f
commit 0fd1e16444
1 changed files with 1 additions and 0 deletions

View File

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