| Commit message (Expand) | Author | Age |
* | gnu: Change ld-wrapper extension from .scm to .in.•••* gnu/packages/ld-wrapper.scm: Rename to...
* gnu/packages/ld-wrapper.in: ... this.
* gnu/packages/base.scm (make-ld-wrapper): Adjust "wrapper" input
accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove ld-wrapper.scm.
(MISC_DISTRO_FILES): New variable.
| Ludovic Courtès | 2015-04-07 |
* | gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.•••* gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable.
(rpath-arguments): Honor it.
| Ludovic Courtès | 2015-04-07 |
* | gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.•••This avoids adding bogus entries to the RUNPATH of installed binaries,
pointing to the build directory or similar.
* gnu/packages/ld-wrapper.scm (store-file-name?): New procedure.
(rpath-arguments): Add "-rpath" flag on when FILE matches
'store-file-name?', not when it matches 'pure-file-name?'.
| Ludovic Courtès | 2015-04-07 |
* | gnu: ld-wrapper: Extract symlink dereferencing.•••* gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New
procedures.
(pure-file-name?): Use it instead of local loop.
| Ludovic Courtès | 2015-04-07 |
* | gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.•••* gnu/packages/ld-wrapper.scm: Use @SELF@ instead of $0. This is so
that the .go file is found even when the wrapper is invoked via a
symlink to it.
* gnu/packages/base.scm (make-ld-wrapper): Substitute @SELF@.
| Ludovic Courtès | 2015-04-03 |
* | ld-wrapper: Add '-rpath' for arguments such as 'libfoo.so.5.3'.•••Suggested by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00810.html>.
CMake command lines appear to refer to such file names.
* gnu/packages/ld-wrapper.scm (shared-library?): New procedure.
(library-files-linked): Use it.
| Ludovic Courtès | 2015-02-27 |
* | ld-wrapper: Add '-rpath' flag for libraries passed by file name.•••Discussed at
<http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00028.html>.
* gnu/packages/ld-wrapper.scm (switch-arguments, library-path): Remove.
(library-files-linked): Rewrite to include the name of libraries
passed by file names, and to honor the current -L search path instead
of the final one.
(rpath-arguments): Remove 'lib-path' parameter. Expect LIBRARY-FILES
to be a list of absolute file names.
(ld-wrapper): Adjust accordingly.
| Ludovic Courtès | 2015-01-04 |
* | Change default store values from /nix/store to /gnu/store.•••* gnu/packages/ld-wrapper.scm (%store-directory): Change the default to
/gnu/store.
* guix/build/utils.scm (%store-directory): New procedure.
(remove-store-references): Use it for the default value of 'store'.
* guix/packages.scm (patch-and-repack)[builder]: Change default store to
/gnu/store.
| Ludovic Courtès | 2014-03-10 |
* | ld-wrapper: Unless in a build env., allow files that symlink to the store.•••* gnu/packages/ld-wrapper.scm (pure-file-name?): As a last resort, when
%BUILD-DIRECTORY is false, check whether FILE is a symlink, and loop
over it to check whether its target is in the store.
| Ludovic Courtès | 2013-06-12 |
* | distro: Change the module name space to (gnu ...).•••* distro: Rename to...
* gnu: ... this. Update module names accordingly.
* Makefile.am: Adjust accordingly.
* po/POTFILES.in: Likewise.
* distro.scm: Search for files under /gnu/packages instead of
/distro/packages.
* gnu/packages/base.scm (ld-wrapper-boot3): Likewise.
| Ludovic Courtès | 2013-01-18 |