Received: from eggs.gnu.org ([2001:4830:134:3::10]:48818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axUQf-0004mx-RH for qemu-devel@nongnu.org; Tue, 03 May 2016 03:07:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axUQU-0007QO-8x for qemu-devel@nongnu.org; Tue, 03 May 2016 03:07:28 -0400 Sender: Richard Henderson References: <1462237852-61856-1-git-send-email-chrisfriedt@gmail.com> From: Richard Henderson Message-ID: <0b165339-9dde-57f8-959d-22122390ca0b@twiddle.net> Date: Mon, 2 May 2016 21:06:43 -1000 MIME-Version: 1.0 In-Reply-To: <1462237852-61856-1-git-send-email-chrisfriedt@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2v2] [RESENT-INLINE] Use libtool instead of ar to create static libraries on Darwin. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christopher Friedt , famz@redhat.com, mst@redhat.com Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 05/02/2016 03:10 PM, Christopher Friedt wrote: > %.a: > +ifdef CONFIG_DARWIN > + $(call quiet-command,rm -f $@ && libtool -static -o $@ $^," libtool $(TARGET_DIR)$@") > +else > $(call quiet-command,rm -f $@ && $(AR) rcs $@ $^," AR $(TARGET_DIR)$@") > +endif > Does it work to use libtool -static everywhere? r~