After making this one-line change in some .pxd file:
diff --git a/src/sage/libs/gmp/types.pxd b/src/sage/libs/gmp/types.pxd
index 204f490..b6eca5e 100644
--- a/src/sage/libs/gmp/types.pxd
+++ b/src/sage/libs/gmp/types.pxd
@@ -1,3 +1,5 @@
+# distutils: libraries = gmp
+
from libc.stdio cimport FILE
cdef extern from "gmp.h":
all files depending on src/sage/libs/gmp/types.pxd are now linked to ''all'' libraries in Sage. For example, sage/graphs/asteroidal_triples.c changed from
After making this one-line change in some
.pxd
file:all files depending on
src/sage/libs/gmp/types.pxd
are now linked to ''all'' libraries in Sage. For example,sage/graphs/asteroidal_triples.c
changed fromto
while I just wanted
Migrated from http://trac.cython.org/ticket/845