]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
push sysroot down to other libs and things that don't use libtool as well, so you...
authorMichael Jerris <mike@jerris.com>
Mon, 31 Mar 2014 12:27:11 +0000 (08:27 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 31 Mar 2014 12:27:11 +0000 (08:27 -0400)
configure.ac

index 3962ee4c93f94d1d05e41259148984e199f888af..583e2fca0346dae744bd7eaa9479e844ca25d829 100644 (file)
@@ -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.*)