You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
configure: pass windows-path to nvcc whenever cygpath is available
It might be using cl.exe on Windows, which does not understand Unix-Paths. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
5
configure
vendored
5
configure
vendored
@@ -1030,7 +1030,10 @@ test_nvcc(){
|
|||||||
log test_nvcc "$@"
|
log test_nvcc "$@"
|
||||||
cat > $TMPCU
|
cat > $TMPCU
|
||||||
log_file $TMPCU
|
log_file $TMPCU
|
||||||
test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $TMPO) $TMPCU
|
tmpcu_=$TMPCU
|
||||||
|
tmpo_=$TMPO
|
||||||
|
[ -x "$(command -v cygpath)" ] && tmpcu_=$(cygpath -m $tmpcu_) && tmpo_=$(cygpath -m $tmpo_)
|
||||||
|
test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $tmpo_) $tmpcu_
|
||||||
}
|
}
|
||||||
|
|
||||||
check_nvcc() {
|
check_nvcc() {
|
||||||
|
Reference in New Issue
Block a user