delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/13/04:16:55

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019