blob: 27ae7bac3410e50ac103cca97fe78b89dbc79b2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.4 2012/02/24 16:29:43 adam 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 2011-09-04 14:31:50.000000000 +0000
+++ Makefile.PL
@@ -28,6 +28,6 @@ WriteMakefile
Math::BigInt => 1.997,
XSLoader => 0.02,
},
- 'LIBS' => ['-lgmp'],
+ 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"],
'SIGN' => 1,
);
|