Mail Archives: cygwin/2007/03/13/04:16:55
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 -