From 0761fb51b2579cfec7051011a453b5203a9d8ef8 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 24 Feb 2013 02:24:09 +0100 Subject: [PATCH] build: support 64 bits darwin builds Before this commit, gyp built 32 bits versions of libuv exclusively. Enable with: $ ./gyp_uv -Dtarget_arch=x64 --- common.gypi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common.gypi b/common.gypi index 0a6024958..c3d9527cc 100644 --- a/common.gypi +++ b/common.gypi @@ -172,6 +172,14 @@ '-Wno-unused-parameter', ], }, + 'conditions': [ + ['target_arch=="ia32"', { + 'xcode_settings': {'ARCHS': ['i386']}, + }], + ['target_arch=="x64"', { + 'xcode_settings': {'ARCHS': ['x86_64']}, + }], + ], 'target_conditions': [ ['_type!="static_library"', { 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},