blob: 422d7e09956a77cd220c2278d47449cf74f77b60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.2 2010/09/23 21:58:13 sno Exp $
From p5-Math-GMP/patches/patch-aa:
Trick perl into emitting use of -lgmp. Actual library
location will be handled via buildlink / wrapper.
--- Makefile.PL.orig 2010-09-14 16:58:27.000000000 +0000
+++ Makefile.PL
@@ -53,6 +53,6 @@ WriteMakefile(
Math::BigInt => 1.90,
XSLoader => 0.02,
},
- 'LIBS' => ['-lgmp'],
+ 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"],
'SIGN' => 1,
);
|