Skip to content

Commit 324cec9

Browse files
authored
Update pyotherside.pri
1 parent af70c58 commit 324cec9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

3rdparty/pyotherside.pri

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11

22
# Python
3-
PYTHON_CONFIG = python3-config
4-
5-
QMAKE_LIBS += $$system($$PYTHON_CONFIG --ldflags --libs)
6-
QMAKE_CXXFLAGS += $$system($$PYTHON_CONFIG --includes)
7-
83
win32* {
94
QMAKE_LIBS += -LC:\Python37\libs -lpython37
105
INCLUDEPATH += C:\Python37\include\
6+
} else {
7+
PYTHON_CONFIG = python3-config
8+
QMAKE_LIBS += $$system($$PYTHON_CONFIG --ldflags --libs)
9+
QMAKE_CXXFLAGS += $$system($$PYTHON_CONFIG --includes)
1110
}
1211

1312
include(pyotherside/pyotherside.pri)

0 commit comments

Comments
 (0)