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

Carl Eugen Hoyos git at videolan.org
Sun Mar 23 19:01:43 CET 2014


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

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

On darwin, --sysroot may be ignored.

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

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

diff --git a/configure b/configure
index f0a05b0..2ea7e3c 100755
--- a/configure
+++ b/configure
@@ -3398,6 +3398,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