[FFmpeg-cvslog] Always pass the configure option sysroot to --sysroot and -isysroot.

Carl Eugen Hoyos git at videolan.org
Sun Mar 23 20:13:15 CET 2014


ffmpeg | branch: release/2.2 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Mar 23 17:57:32 2014 +0100| [d461e077a51c286264ed34b1a550c99311f30e8d] | committer: Carl Eugen Hoyos

Always pass the configure option sysroot to --sysroot and -isysroot.

On darwin, --sysroot may be ignored.

(cherry picked from commit cc6d549adbb838ef87b1f251ca469dc4c3dd39aa)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d461e077a51c286264ed34b1a550c99311f30e8d
---

 configure |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index e2674ac..e123eb3 100755
--- a/configure
+++ b/configure
@@ -3324,6 +3324,9 @@ if test -n "$sysroot"; then
         gcc|llvm_gcc|clang)
             add_cppflags --sysroot="$sysroot"
             add_ldflags --sysroot="$sysroot"
+# On Darwin --sysroot may be ignored, -isysroot always affects headers and linking
+            add_cppflags -isysroot "$sysroot"
+            add_ldflags -isysroot "$sysroot"
         ;;
         tms470)
             add_cppflags -I"$sysinclude"



More information about the ffmpeg-cvslog mailing list