mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-07-31 09:03:57 +00:00
Always pass the configure option sysroot to --sysroot and -isysroot.
On darwin, --sysroot may be ignored.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user