distro: Add an `ld' wrapper, to pass missing `-rpath' flags.
authorLudovic Courtès <ludo@gnu.org>
Wed, 26 Sep 2012 16:27:04 +0000 (18:27 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 26 Sep 2012 19:21:05 +0000 (21:21 +0200)
commit82dc2b9af975ca79abf5e9c48f77ed4ffd7ccea5
tree2149d52d897677e4a3ce662e719264d4ca07ac8a
parentdc8907d8e322bce1b6c09c72711302cb3e733e1d
distro: Add an `ld' wrapper, to pass missing `-rpath' flags.

* distro/ld-wrapper.scm: New file.
* Makefile.am (MODULES): Add it.

* distro/base.scm (ld-wrapper-boot3): New variable.
  (%boot3-inputs): Add LD-WRAPPER-BOOT3.
  (bash-final, guile-final, ld-wrapper): New final.
  (%final-inputs): Use BASH-FINAL; add LD-WRAPPER.
  (gcc-4.7): Remove the `-rpath' trick from the `lib' spec string.
Makefile.am
distro/base.scm
distro/ld-wrapper.scm [new file with mode: 0644]