gmp/mpfr: force static linking
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 9 Feb 2009 13:01:32 +0000 (13:01 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 9 Feb 2009 13:01:32 +0000 (13:01 -0000)
commit42f985687dcddbaa2277a3ffb8a88b190bde76e7
tree4e655fef5352e17b42f4cdc849bdbc7cbf826f80
parent0833b949f60fc75fe779d89fd5f77e8395cbe5d1
gmp/mpfr: force static linking

Patch by Maxim Grigoriev.

GCC 4.3.x would link with the correct shared library versions, but without
any RPATH, so it ended up looking for then in /usr/lib/ at runtime.
This is less than good, as the version there might not be compatible, and
even worse for distributions like Ubuntu, which doesn't install those
libs by default, the build breaks.

Fix it by forcing static linking instead.
package/gmp/gmp.mk
package/mpfr/mpfr.mk