X-Spam-Check-By: sourceware.org Date: Tue, 13 Mar 2007 10:16:25 +0100 From: Samuel Thibault 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/