changeset 5548:acadb67a032b

perl: junk site_perl and build shared libs. Fixes extensions.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 11 Sep 2009 11:09:23 +0200
parents 0420ec10839e
children 28e4bb5a338f
files gub/specs/perl.py
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/perl.py	Mon Sep 07 20:44:16 2009 +0200
+++ b/gub/specs/perl.py	Fri Sep 11 11:09:23 2009 +0200
@@ -35,8 +35,14 @@
  -Dusrinc=%(system_prefix)s/include
  -Dincpth=/
  -Dlibpth=%(system_prefix)s/lib
+ -Dsitelib=%(system_prefix)s/lib/perl5/5.10.0
+ -Dsitearch=%(system_prefix)s/lib/perl5/5.10.0
+ -Dusedl
+ -Duseshrplib
+ -Dlibperl=libperl.so
+ -Dcccdlflags=-fPIC
  -Dlocallibpth=/
- -Aldflags='%(rpath)s -lm -lrt'
+ -Aldflags='%(rpath)s -lm -lrt -ldl'
 ''')
     def configure (self):
         self.shadow ()
@@ -45,4 +51,3 @@
             # Ugh, missing some command?
             self.file_sub ([('^0$','')], i)
 #    def install_command (self):
-