On 2017-03-27 23:15, François Bissey wrote:
The generated sage/ext/interpreters/wrapper_cdf.pxd has the following
statement:
cimport sage.libs.cypari2.types

That would pull `-lpari`.

That's not actually true. Just using the *types* from PARI doesn't need linking against PARI. It's cysignals which pulls -lpari.

To add `-lm` you would have to add
a line
#distutils: libraries = m
at the top of the same .pxd file

Actually, the .pyx file. If something is needed for the .pxd file, the "# distutils" declaration should be in the .pxd file. But this is not the case here, so it should be in the .pyx file.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to