37e0f20
log() function not available in libgmp, need libm too
37e0f20
37e0f20
--- setup.py
37e0f20
+++ setup.py
37e0f20
@@ -349,7 +349,7 @@ kw = {'name':"pycrypto",
37e0f20
             # _fastmath (uses GNU mp library)
37e0f20
             Extension("Crypto.PublicKey._fastmath",
37e0f20
                       include_dirs=['src/','/usr/include/'],
37e0f20
-                      libraries=['gmp'],
37e0f20
+                      libraries=['gmp','m'],
37e0f20
                       sources=["src/_fastmath.c"]),
37e0f20
 
37e0f20
             # Hash functions