提交 2d2cb445 authored 作者: Michael Jerris's avatar Michael Jerris

push sysroot down to other libs and things that don't use libtool as well, so…

push sysroot down to other libs and things that don't use libtool as well, so you don't need to specify it in a bunch of different ways when using it.
上级 9b56dff2
......@@ -578,6 +578,12 @@ path_push_unique () {
eval export $1="$2:$x"
}
if test -n $lt_sysroot ; then
APR_ADDTO(CFLAGS, --sysroot=$lt_sysroot)
APR_ADDTO(CXXFLAGS, --sysroot=$lt_sysroot)
APR_ADDTO(LDFLAGS, --sysroot=$lt_sysroot)
fi
# tweak platform specific flags
case "$host" in
*darwin13.*|*darwin12.*|*darwin11.*)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论