summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-03-23 17:57:32 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-03-23 20:12:54 +0100
commitd461e077a51c286264ed34b1a550c99311f30e8d (patch)
treec818a62b7c5f4e8ab7f193c7b7ab9998af7fe8fc
parent9a884b7b97c9780c84980560c88b3d3eca992101 (diff)
downloadffmpeg-d461e077a51c286264ed34b1a550c99311f30e8d.tar.gz
Always pass the configure option sysroot to --sysroot and -isysroot.
On darwin, --sysroot may be ignored. (cherry picked from commit cc6d549adbb838ef87b1f251ca469dc4c3dd39aa)
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index e2674ac626..e123eb333b 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"