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 B91D4431FC7 for ; Wed, 31 Dec 2014 13:19:25 -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 iwD9YPBbjAH0 for ; Wed, 31 Dec 2014 13:19:22 -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 8B1EB431FC0 for ; Wed, 31 Dec 2014 13:19:22 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1Y6Qfp-0000qJ-Ce; Wed, 31 Dec 2014 17:19:21 -0400 Received: (nullmailer pid 12197 invoked by uid 1000); Wed, 31 Dec 2014 21:19:16 -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+7~g5d7f7a6 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Wed, 31 Dec 2014 22:19:16 +0100 Message-ID: <87r3vffrfv.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: Wed, 31 Dec 2014 21:19:25 -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) It occurs to me that if we build the ruby bindings as part of the main build then the dependencies of the main makefile will force the library to exist, and we can eliminate the special casing here. The flags I'm less sure about. I guess they are gcc specific. Ideally this seems like the kind of configuration that should happen in the top level configuration. [1]: id:1419971380-10307-2-git-send-email-david@tethera.net