Mercurial > gub
changeset 5544:469259ca434a
tools::curl: use rpath. Fixes debootstrap build.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 21 Aug 2009 17:21:59 +0200 |
parents | a4662d7b5d74 |
children | 67b741ff4bcb |
files | gub/specs/curl.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/curl.py Fri Aug 21 17:17:11 2009 +0200 +++ b/gub/specs/curl.py Fri Aug 21 17:21:59 2009 +0200 @@ -6,6 +6,9 @@ source = 'http://curl.haxx.se/download/curl-7.19.0.tar.gz' def _get_build_dependencies (self): return ['tools::libtool'] + def configure_command (self): + return (target.AutoBuild.configure_command (self) + + ''' LDFLAGS='%(rpath)s -Wl,-rpath -Wl,%(system_prefix)s/lib' ''') def install (self): target.AutoBuild.install (self) self.system ('mkdir -p %(install_prefix)s%(cross_dir)s/bin') @@ -19,3 +22,6 @@ class Curl__tools (tools.AutoBuild, Curl): def _get_build_dependencies (self): return ['libtool'] + def configure_command (self): + return (tools.AutoBuild.configure_command (self) + + ''' LDFLAGS='-L%(system_prefix)s/lib %(rpath)s -Wl,-rpath -Wl,%(system_prefix)s/lib' ''')