From 3e7be862f21204b75c7220caee7e13b4af4402ff Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Sat, 25 Feb 2017 13:01:12 +0100 Subject: [PATCH] Fixed compile bug on MAC --- DRAMSys/analyzer/traceAnalyzer.pro | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/DRAMSys/analyzer/traceAnalyzer.pro b/DRAMSys/analyzer/traceAnalyzer.pro index dfb63aa9..8225d3fc 100644 --- a/DRAMSys/analyzer/traceAnalyzer.pro +++ b/DRAMSys/analyzer/traceAnalyzer.pro @@ -40,18 +40,6 @@ unix:!macx { macx: { message(Building on a MAC) - # Python library and header files - python_home = $$(PYTHON_HOME) - isEmpty(python_home) { - python_home = /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/ - } - message(Python home is $${python_home}) - - python_headers = $$(PYTHON_HEADERS) - isEmpty(python_headers) { - python_headers = /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Headers/ - } - message(Getting python headers from $${python_headers}) CONFIG += c++11 QMAKE_CXXFLAGS += -std=c++0x -stdlib=libc++ @@ -61,12 +49,8 @@ macx: { INCLUDEPATH += $$(LIBQWT_HEADERS) DEPENDPATH += $$replace(LIBQWT_HOME, lib, ) - #DEPENDPATH += $$(python_headers) - INCLUDEPATH += $$(python_headers) - LIBS += -L$$(python_home) -lpython3.6 - - #INCLUDEPATH += /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Headers/ - #LIBS += -L/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/ -lpython3.6 + INCLUDEPATH += /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Headers/ + LIBS += -L/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/ -lpython3.6 CONFIG-=app_bundle }