X-Spam-Check-By: sourceware.org
Date: Tue, 13 Mar 2007 10:16:25 +0100
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: cygwin@cygwin.com
Subject: Re: python & development
Message-ID: <20070313091625.GD3545@implementation.labri.fr>
Mail-Followup-To: cygwin@cygwin.com
References: <20070312005446.GG3707@interface.famille.thibault.fr> <20070312131932.GA1272@tishler.net> <20070312134015.GG3559@implementation.labri.fr> <20070312154601.GA1052@tishler.net> <20070312232707.GL4019@interface.famille.thibault.fr> <20070313015834.GA3068@tishler.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20070313015834.GA3068@tishler.net>
User-Agent: Mutt/1.5.11
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

Jason Tishler, le Mon 12 Mar 2007 20:58:34 -0500, a écrit :
> > Ah, yes, but it seems to usually just _not_ use -lpython2.4 actually.
> 
> AFAICT, it does when building a shared extension.  For example, from
> python-ldap, we have the following:
> 
>     gcc -shared -Wl,--enable-auto-image-base
>     build/temp.cygwin-1.5.12-i686-2.4/Modules/LDAPObject.o
>     ...
>     -L/usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib -L/usr/local/sasl/lib
> **> -L/usr/lib/python2.4/config
>     -Wl,-R/usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib
>     -Wl,-R/usr/local/sasl/lib -lldap_r -llber -lssl -lcrypto -lsasl2
> **> -lpython2.4 -o build/lib.cygwin-1.5.12-i686-2.4/_ldap.dll

Hmm, I didn't notice that in the setup package, but ok, that confirms
that the ac_python_devel.m4 macro needs to be fixed.

Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

