diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-10-17 23:34:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-10-17 23:34:05 +0200 |
commit | f76a51add021d599f0db54b7045cbf63a6a722d1 (patch) | |
tree | 135d685e8e152d78f4705e4040c733f2e334bae1 /distro/packages/base.scm | |
parent | 4c261f4169b9da6b8a04d420422426e5548feac4 (diff) | |
download | patches-f76a51add021d599f0db54b7045cbf63a6a722d1.tar patches-f76a51add021d599f0db54b7045cbf63a6a722d1.tar.gz |
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.
Diffstat (limited to 'distro/packages/base.scm')
-rw-r--r-- | distro/packages/base.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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 |