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.
This commit is contained in:
parent
9b56dff275
commit
2d2cb445c0
|
@ -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.*)
|
||||
|
|
Loading…
Reference in New Issue