aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ld-wrapper.scm
Commit message (Collapse)AuthorAge
* gnu: Change ld-wrapper extension from .scm to .in.Ludovic Courtès2015-04-07
| | | | | | | | | * 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.
* gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.Ludovic Courtès2015-04-07
| | | | | * gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable. (rpath-arguments): Honor it.
* gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.Ludovic Courtès2015-04-07
| | | | | | | | | 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?'.
* gnu: ld-wrapper: Extract symlink dereferencing.Ludovic Courtès2015-04-07
| | | | | | * gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New procedures. (pure-file-name?): Use it instead of local loop.
* gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.Ludovic Courtès2015-04-03
| | | | | | | * 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@.
* ld-wrapper: Add '-rpath' for arguments such as 'libfoo.so.5.3'.Ludovic Courtès2015-02-27
| | | | | | | | | 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.
* ld-wrapper: Add '-rpath' flag for libraries passed by file name.Ludovic Courtès2015-01-04
| | | | | | | | | | | | | 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.
* Change default store values from /nix/store to /gnu/store.Ludovic Courtès2014-03-10
| | | | | | | | | * 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.
* ld-wrapper: Unless in a build env., allow files that symlink to the store.Ludovic Courtès2013-06-12
| | | | | | * 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.
* distro: Change the module name space to (gnu ...).Ludovic Courtès2013-01-18
* 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.