diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-23 17:57:32 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-23 20:12:54 +0100 |
commit | d461e077a51c286264ed34b1a550c99311f30e8d (patch) | |
tree | c818a62b7c5f4e8ab7f193c7b7ab9998af7fe8fc | |
parent | 9a884b7b97c9780c84980560c88b3d3eca992101 (diff) | |
download | ffmpeg-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-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |