blob: daedfd54b27ebc340ab7544b501f209ffd4e512f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.4 2013/04/20 11:44:30 hiramatsu Exp $
Record the path to the zlib library in the executable/library.
COMPILER_RPATH_FLAG is specific to pkgsrc.
--- Makefile.PL.orig 2013-04-20 17:56:07.000000000 +0900
+++ Makefile.PL 2013-04-20 17:57:05.000000000 +0900
@@ -79,7 +79,7 @@
(
$BUILD_ZLIB
? zlib_files($ZLIB_LIB)
- : (LIBS => [ "-L$ZLIB_LIB -lz " ])
+ : (LIBS => [ "-L$ZLIB_LIB $ENV{'COMPILER_RPATH_FLAG'}$ZLIB_LIB -lz " ])
),
INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'),
|