Skip to content

Commit 9cdbd73

Browse files
iakovMinyazevR
authored andcommitted
shell_path is a mistake
In msys shell with MinGW Qt5 on GHA it converts path to `/c/hostedtoolscache` , but `gcc` does not recognize this path
1 parent 47c73c7 commit 9cdbd73

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build/python.prf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@ contains(PKGCONFIG, "python.*"){
6666
isEmpty(PYTHON_PATH):PYTHON_PATH=$(PYTHON_PATH)
6767
isEmpty(PYTHON_PATH)|!exists("$$PYTHON_PATH\\include") | !exists("$$PYTHON_PATH\\libs\\") {
6868
error("PYTHON_PATH must be set to correct folder with \\libs and \\include subfolders ")
69-
}
70-
71-
INCLUDEPATH += $$shell_path($${PYTHON_PATH}/include)
69+
}
70+
INCLUDEPATH += $${PYTHON_PATH}/include
7271

73-
LIBS += $$shell_path(-L$${PYTHON_PATH}/libs)
72+
LIBS += -L$${PYTHON_PATH}/libs
7473
LIBS += -lpython$${PYTHON_VERSION_MAJOR}$${PYTHON_VERSION_MINOR}$${DEBUG_EXT}
7574

7675
# Hack for "CONFIG+=testcase" and 'make check' to add python's dll to PATH

0 commit comments

Comments
 (0)