1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

On darwin, --sysroot may be ignored.
This commit is contained in:
Carl Eugen Hoyos 2014-03-23 17:57:32 +01:00
parent 942cded690
commit cc6d549adb

3
configure vendored
View File

@ -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"