summaryrefslogtreecommitdiff
path: root/editors/p5-Wx-Scintilla/patches/patch-aa
blob: 942bfd1311214c69abc42f1fad25465280e82a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.2 2012/09/13 14:16:44 sno Exp $
# some ldld's doesn't seem to understand $ORIGIN

--- inc/Module/Build/Scintilla/GTK.pm.orig	2012-09-04 10:20:47.000000000 +0000
+++ inc/Module/Build/Scintilla/GTK.pm
@@ -146,7 +146,7 @@ sub stc_link_xs {
 		'-Lblib/arch/auto/Wx/Scintilla ' . $self->stc_scintilla_link,
 		Alien::wxWidgets->libraries(qw(core base)),
 		$Config{perllibs},
-		"-Wl,-rpath,'\$ORIGIN'",
+		"-Wl,-rpath,'" . File::Spec->catdir( $Config{vendorarch}, "auto/Wx/Scintilla" ) . "'",
 	);
 
 	$self->_run_command( \@cmd );