From: David Bremner Date: Thu, 1 Jan 2015 12:22:30 +0000 (+0100) Subject: Re: [PATCH] ruby: allow bindings to compile on Mac OS X X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cce85b2b678394c6cc568f26382d74f949d0b4c9;p=notmuch-archives.git Re: [PATCH] ruby: allow bindings to compile on Mac OS X --- diff --git a/3b/67cfbde14e7e6d2944a44ee57884a0381f0387 b/3b/67cfbde14e7e6d2944a44ee57884a0381f0387 new file mode 100644 index 000000000..02cc26dcd --- /dev/null +++ b/3b/67cfbde14e7e6d2944a44ee57884a0381f0387 @@ -0,0 +1,64 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 23958429E26 + for ; Thu, 1 Jan 2015 04:22:40 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Y8-h3Ob+EVAQ for ; + Thu, 1 Jan 2015 04:22:36 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E0D24431FC7 + for ; Thu, 1 Jan 2015 04:22:36 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1Y6elw-00057O-0O; Thu, 01 Jan 2015 08:22:36 -0400 +Received: (nullmailer pid 32265 invoked by uid 1000); Thu, 01 Jan 2015 + 12:22:30 -0000 +From: David Bremner +To: Ludovic LANGE , notmuch@notmuchmail.org +Subject: Re: [PATCH] ruby: allow bindings to compile on Mac OS X +In-Reply-To: <1416170906-23415-1-git-send-email-ll-notmuchmail@lange.nom.fr> +References: <1416170906-23415-1-git-send-email-ll-notmuchmail@lange.nom.fr> +User-Agent: Notmuch/0.19+10~g821dd40 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 01 Jan 2015 13:22:30 +0100 +Message-ID: <87oaqig06x.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 01 Jan 2015 12:22:40 -0000 + +Ludovic LANGE writes: + +> On OS X, the library ends with .dylib (instead of .so). I also added +> the .dll handling in any case. +> Also, the flags '-Wl,--no-undefined' seems not accepted, so I excluded +> them on OS X (only) + +If you have a chance, please check out the series at + + id:1420114600-28396-1-git-send-email-david@tethera.net + +In principle it should provide the same functionality as your patch, +although hopefully in a more portable and generic way.