[FFmpeg-cvslog] configure: cuda_llvm: fix include path for MSYS2

Ricardo Constantino git at videolan.org
Tue Aug 6 00:00:37 EEST 2019

ffmpeg | branch: release/4.2 | Ricardo Constantino <wiiaboo at gmail.com> | Mon Aug  5 20:47:03 2019 +0100| [75384bc464411fb2291105dca84b8bc411188350] | committer: Timo Rothenpieler

configure: cuda_llvm: fix include path for MSYS2

MSYS2 converts paths to MinGW-based applications from unix to
pseudo-windows paths on execution time.
Since there was no space between '-include' and the path, MSYS2 doesn't
detect the path properly.

Signed-off-by: Timo Rothenpieler <timo at rothenpieler.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75384bc464411fb2291105dca84b8bc411188350

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index bddc05b850..34c2adb4a4 100755
--- a/configure
+++ b/configure
@@ -6094,7 +6094,7 @@ fi
 if enabled cuda_nvcc; then
     nvccflags="$nvccflags -ptx"
-    nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include${source_link}/compat/cuda/cuda_runtime.h"
+    nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h"
     check_nvcc cuda_llvm

More information about the ffmpeg-cvslog mailing list