Mercurial > gub
changeset 5552:fd3f5dbe840f
cpanbuild: build shared extensions. Fixes perl XML::Parser.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 11 Sep 2009 11:10:38 +0200 |
parents | a522db2d3990 |
children | a44065d212a8 |
files | gub/target.py gub/tools.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/target.py Fri Sep 11 11:10:04 2009 +0200 +++ b/gub/target.py Fri Sep 11 11:10:38 2009 +0200 @@ -280,7 +280,7 @@ return [s for s in AutoBuild.stages (self) if s not in ['autoupdate']] def configure (self): self.shadow () - self.system ('cd %(builddir)s && perl Makefile.PL PREFIX=%(system_prefix)s') + self.system ('cd %(builddir)s && perl Makefile.PL PREFIX=%(system_prefix)s LINKTYPE=dynamic') def libtool_disable_rpath (logger, libtool, rpath, file): # Must also keep -rpath $libdir, because when build_arch ==
--- a/gub/tools.py Fri Sep 11 11:10:04 2009 +0200 +++ b/gub/tools.py Fri Sep 11 11:10:38 2009 +0200 @@ -274,4 +274,4 @@ return [s for s in AutoBuild.stages (self) if s not in ['autoupdate']] def configure (self): self.shadow () - self.system ('cd %(builddir)s && perl Makefile.PL PREFIX=%(system_prefix)s') + self.system ('cd %(builddir)s && perl Makefile.PL PREFIX=%(system_prefix)s LINKTYPE=dynamic')