mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
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"
|
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
|
# tweak platform specific flags
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*darwin13.*|*darwin12.*|*darwin11.*)
|
*darwin13.*|*darwin12.*|*darwin11.*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user