Add mac specific configuration
[pykit.git] / pykit.pro
index 1cb9fb6..5fa09b1 100644 (file)
--- a/pykit.pro
+++ b/pykit.pro
@@ -12,6 +12,12 @@ LIBS += -lboost_python
 QMAKE_CXXFLAGS += $$system(python-config --cflags)
 QMAKE_CFFLAGS += $$system(python-config --cflags)
 LIBS += $$system(python-config --ldflags)
+mac {
+    # Qt is not available as univeral library and provides
+    # a correct -arch tag automatically
+    QMAKE_CXXFLAGS -= -arch ppc x86_64 i386
+    QMAKE_CFLAGS -= -arch ppc x86_64 i386
+}
 
 # Input
 HEADERS += MainWindow.hh \