From 004715ec045f96a870f54371cdeae58132ac43a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 6 Nov 2009 09:14:58 +0100 Subject: [PATCH] fix compile on snow leopard --- Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.inc b/Makefile.inc index ab5eb25..59edeeb 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -23,6 +23,9 @@ ifeq ($(OS),Darwin) LINK=$(LD) SHLIB_EXT=dylib SHLIB_FLAGS=-dylib + ifeq ($(shell gcc -dumpmachine),i686-apple-darwin10) + SHLIB_FLAGS += -arch x86_64 + endif else LINK=$(CC) SHLIB_EXT=so -- 2.41.1