changeset 5781:be607c132aa0

guile: move LD_LIBRARY_PATH libgmp.so hack to compile_flags_native. Fixes build.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Tue, 13 Oct 2009 22:17:13 +0200
parents 3e06000203ca
children 169a4ff622f4
files gub/specs/guile.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/guile.py	Tue Oct 13 21:46:36 2009 +0200
+++ b/gub/specs/guile.py	Tue Oct 13 22:17:13 2009 +0200
@@ -40,16 +40,16 @@
 -I.
 -I%(srcdir)s/libguile"
 '''))
-    compile_flags_native = ' LD_PRELOAD= '
+    # FIXME: guile runs gen_scmconfig [when not x-building also guile]
+    # without setting the proper LD_LIBRARY_PATH.
+    compile_flags_native = (' LD_PRELOAD= '
+                            + ' LD_LIBRARY_PATH=%(tools_prefix)s/lib:${LD_LIBRARY_PATH-/foe} ')
     # FIXME: guile runs gen_scmconfig [when not x-building also guile]
     # without setting the proper LD_LIBRARY_PATH.
     configure_command = ('GUILE_FOR_BUILD=%(tools_prefix)s/bin/guile '
                          + target.AutoBuild.configure_command
                          + guile_configure_flags)
-    # FIXME: guile runs gen_scmconfig [when not x-building also guile]
-    # without setting the proper LD_LIBRARY_PATH.
-    compile_command = ('LD_LIBRARY_PATH=%(tools_prefix)s/lib:${LD_LIBRARY_PATH-/foe} '
-                       + 'preinstguile=%(tools_prefix)s/bin/guile '
+    compile_command = ('preinstguile=%(tools_prefix)s/bin/guile '
                        + target.AutoBuild.compile_command)
     subpackage_names = ['doc', 'devel', 'runtime', '']
     @staticmethod