From a91def88b76756fded5c15c811e14eaf7a1d3fdc Mon Sep 17 00:00:00 2001 From: Denis Loginov Date: Mon, 15 Aug 2011 10:35:57 -0400 Subject: [PATCH] Build Mac binary based on the host arch. --- goldendict.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/goldendict.pro b/goldendict.pro index 3d172469..8ef3828f 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -89,7 +89,11 @@ unix { INSTALLS += desktops2 } mac { - CONFIG += x86 x86_64 + contains(QMAKE_HOST.arch, x86_64) { + CONFIG += x86 x86_64 + } else { + CONFIG += x86 + } LIBS = -lz \ -liconv \ -lvorbisfile \