From 1972a49e8d3024f36cd3329c07383d03b255d551 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Sun, 23 Jun 2024 20:09:03 -0300 Subject: [PATCH] Fix build 3. --- ports/ci/windows-msys/build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ports/ci/windows-msys/build.sh b/ports/ci/windows-msys/build.sh index 3cde4a0..53c8a35 100644 --- a/ports/ci/windows-msys/build.sh +++ b/ports/ci/windows-msys/build.sh @@ -37,7 +37,7 @@ echo echo "Building x64 virtual camera driver" echo -export PATH=/c/msys64/mingw64/bin:/c/msys64/usr/bin:${ORIG_PATH} +export PATH=/mingw64/bin:/c/msys64/mingw64/bin:/c/msys64/usr/bin:${ORIG_PATH} buildDir=build-${COMPILER}-x64 mkdir -p ${buildDir} cmake \ @@ -47,8 +47,8 @@ cmake \ -G "MSYS Makefiles" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \ - -DCMAKE_C_COMPILER="/c/msys64/mingw64/bin/${COMPILER_C}" \ - -DCMAKE_CXX_COMPILER="/c/msys64/mingw64/bin/${COMPILER_CXX}" \ + -DCMAKE_C_COMPILER="${COMPILER_C}" \ + -DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \ ${EXTRA_PARAMS} cmake --build ${buildDir} --parallel ${NJOBS} cmake --build ${buildDir} --target install @@ -57,7 +57,7 @@ echo echo "Building x86 virtual camera driver" echo -export PATH=/c/msys64/mingw32/bin:/c/msys64/usr/bin:${ORIG_PATH} +export PATH=/mingw32/bin:/c/msys64/mingw32/bin:/c/msys64/usr/bin:${ORIG_PATH} buildDir=build-${COMPILER}-x86 mkdir -p ${buildDir} cmake \ @@ -67,8 +67,8 @@ cmake \ -G "MSYS Makefiles" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \ - -DCMAKE_C_COMPILER="/c/msys64/mingw32/bin/${COMPILER_C}" \ - -DCMAKE_CXX_COMPILER="/c/msys64/mingw32/bin/${COMPILER_CXX}" \ + -DCMAKE_C_COMPILER="${COMPILER_C}" \ + -DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \ ${EXTRA_PARAMS} cmake --build ${buildDir} --parallel ${NJOBS} cmake --build ${buildDir} --target install