From cc8c378d0af9a91ce3590631b3e251ac8713ea92 Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Tue, 31 Jan 2017 21:19:18 +0100 Subject: [PATCH] Updated for Python 3.6 in Homebrew on Mac --- DRAMSys/analyzer/traceAnalyzer.pro | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/DRAMSys/analyzer/traceAnalyzer.pro b/DRAMSys/analyzer/traceAnalyzer.pro index d80dff2b..143db126 100644 --- a/DRAMSys/analyzer/traceAnalyzer.pro +++ b/DRAMSys/analyzer/traceAnalyzer.pro @@ -17,6 +17,11 @@ unix:!macx { QMAKE_CXXFLAGS += -Xlinker -export-dynamic QMAKE_RPATHDIR += $${libqwt_home} message(Linker options QMAKE_RPATHDIR is $${QMAKE_RPATHDIR}) + + CONFIG(python) { + LIBS += -L$${python_home} -lpython3.5m + INCLUDEPATH += $${python_headers} + } } macx: { @@ -27,7 +32,7 @@ macx: { INCLUDEPATH += $$(LIBQWT_HEADERS) DEPENDPATH += $$replace(LIBQWT_HOME, lib, ) INCLUDEPATH += $$(PYTHON_HEADERS) - LIBS += -L$$(PYTHON_HOME) -lpython3.5 + LIBS += -L$$(PYTHON_HOME) -lpython3.6 CONFIG-=app_bundle } @@ -63,12 +68,6 @@ isEmpty(python_headers) { } message(Getting python headers from $${python_headers}) -CONFIG(python) { - LIBS += -L$${python_home} -lpython3.5m - INCLUDEPATH += $${python_headers} -} - - greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = traceAnalyzer