From f76a51add021d599f0db54b7045cbf63a6a722d1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 17 Oct 2012 23:34:05 +0200 Subject: distro: Clear references to the store in static binaries. * distro/packages/base.scm (%static-binaries): Clear references to the store path for files in $out/bin. --- distro/packages/base.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'distro/packages/base.scm') diff --git a/distro/packages/base.scm b/distro/packages/base.scm index 1b3d96a93b..5e391ed580 100644 --- a/distro/packages/base.scm +++ b/distro/packages/base.scm @@ -1967,7 +1967,7 @@ store.") ;; Since we use `-static', remove ;; `-export-dynamic'. (substitute* "configure" - (("-export-dynamic") ""))) + (("-export-dynamic") ""))) %standard-phases) ,@((package-arguments gawk) system))))))) `(,@(map (match-lambda @@ -2036,6 +2036,10 @@ store.") (string-append bin "/" name))))) (alist-delete "coreutils" %build-inputs)) + ;; Clear references to the store path. + (for-each remove-store-references + (directory-contents bin)) + #t))))) (description "Statically-linked bootstrap binaries") (long-description -- cgit 1.4.1