aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-berkeleydb/fix-rpath.patch
blob: b48497571f8da3387c9b2ceb0e625ec2bfb1132e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Submitter:	Timothy Legge <timlegge@gmail.com>
Date:		2020-04-04
Specify rpath in Makefile.PL to avoid redundant rpath

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -57,6 +57,9 @@
 	#MAN3PODS        => {},         # Pods will be built by installman. 
 	INC		=> "-I$INC_DIR",
 	VERSION_FROM	=> 'BerkeleyDB.pm',
+	dynamic_lib => {
+		OTHERLDFLAGS => "-Wl,-rpath,/usr/lib/perl5/core_perl/CORE"
+	},
 	XSPROTOARG	=> '-noprototypes',
 	DEFINE		=> "$OS2 $WALL $TRACE",
 	#'macro'		=> { INSTALLDIRS => 'perl' },