File: fix-lib-install-dir

package info (click to toggle)
moarvm 2016.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,060 kB
  • ctags: 9,968
  • sloc: ansic: 131,697; perl: 2,877; makefile: 571; python: 562; sh: 12
file content (21 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
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   => '',