changeset 5570:308c7ad63a05

tools::icotools: set LDFLAGS with rpath. Fixes use of /, Graham's build.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 17 Sep 2009 10:17:19 +0200
parents 4ca633f7a84d
children 615bfea34eea
files gub/specs/icoutils.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/icoutils.py	Wed Sep 16 14:31:54 2009 +0200
+++ b/gub/specs/icoutils.py	Thu Sep 17 10:17:19 2009 +0200
@@ -9,7 +9,9 @@
                 + misc.join_lines ('''
 --with-libintl-prefix=%(system_prefix)s
 --disable-nls
-'''))
+''')
+                # PROMOTEME: rpath
+                + ''' LDFLAGS='-L%(system_prefix)s/lib %(rpath)s -Wl,-rpath -Wl,%(system_prefix)s/lib' ''')
 
 class Icoutils__darwin (tools.AutoBuild):
     def patch (self):