| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 
 | Description: Fix lib install dir
 Setup moar to expect rakudo ELF libs also in /usr/lib/perl6
 and not only in /usr/share/perl6.
 .
 Note that rakudo needs to be tweaked to actually install
 ELF lib there.
Bug: https://github.com/MoarVM/MoarVM/issues/372
Forwarded: yes
Author: dod
--- a/build/setup.pm
+++ b/build/setup.pm
@@ -125,7 +125,8 @@
     ccshared   => '-fPIC',
     ldshared   => '-shared @ccshared@',
     moarshared => '',
-    ldrpath    => '-Wl,-rpath,"/@libdir@" -Wl,-rpath,"@prefix@/share/perl6/site/lib"',
+    ldrpath    => '-Wl,-rpath,"/@libdir@" -Wl,-rpath,"@prefix@/share/perl6/site/lib"'
+               . ' -Wl,-rpath,"@prefix@/lib/perl6/site/lib"',
 
     arflags => 'rcs',
     arout   => '',
 |