[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/17: gnu: base: Add libmachuser.so and libhurduser.so to libc.so's sea
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
16/17: gnu: base: Add libmachuser.so and libhurduser.so to libc.so's search path. |
Date: |
Tue, 06 Oct 2015 17:44:28 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 4a8ebfc10b19f502ecca2ba9017169b6284636e0
Author: Manolis Ragkousis <address@hidden>
Date: Fri Jul 24 22:29:28 2015 +0300
gnu: base: Add libmachuser.so and libhurduser.so to libc.so's search path.
* gnu/packages/base.scm (glibc/hurd): Add augment-libc.so phase.
---
gnu/packages/base.scm | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index dc68dcb..479e461 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -646,7 +646,19 @@ with the Linux kernel.")
(arguments
(substitute-keyword-arguments (package-arguments glibc/linux)
- ((#:configure-flags original-configure-flags)
+ ((#:phases original-phases)
+ ;; Add libmachuser.so and libhurduser.so to libc.so's search path.
+ ;; See
<http://lists.gnu.org/archive/html/bug-hurd/2015-07/msg00051.html>.
+ `(alist-cons-after
+ 'install 'augment-libc.so
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (string-append out "/lib/libc.so")
+ (("/[^ ]+/lib/libc.so.0.3")
+ (string-append out "/lib/libc.so.0.3" " libmachuser.so" "
libhurduser.so"))))
+ #t)
+ ,original-phases))
+ ((#:configure-flags original-configure-flags)
`(append (list "--host=i586-pc-gnu"
;; We need this to get a working openpty() function.
- 03/17: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., (continued)
- 03/17: gnu: cross-base: Make it aware of non-Linux (ie. Hurd) systems., Manolis Fragkiskos Ragkousis, 2015/10/08
- 12/17: gnu: base: Disable bogus code in Hurd's glibc., Manolis Fragkiskos Ragkousis, 2015/10/08
- 05/17: gnu: hurd: Pass --build to gnumach-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/10/08
- 15/17: gnu: cross-gcc, cross-libc: Use hurd-kernel-headers., Manolis Fragkiskos Ragkousis, 2015/10/08
- 06/17: gnu: hurd: Pass --build to hurd-headers when not cross building., Manolis Fragkiskos Ragkousis, 2015/10/08
- 10/17: gnu: base: Build glibc-hurd for i586-pc-gnu instead of i686-pc-gnu., Manolis Fragkiskos Ragkousis, 2015/10/08
- 11/17: gnu: make-bootstrap: Produce the correct %glibc-bootstrap-tarball for Hurd systems., Manolis Fragkiskos Ragkousis, 2015/10/08
- 09/17: gnu: cross-base: Build the correct cross-mig., Manolis Fragkiskos Ragkousis, 2015/10/08
- 14/17: gnu: glibc/hurd: Use hurd-kernel-headers package., Manolis Fragkiskos Ragkousis, 2015/10/08
- 17/17: gnu: glibc/hurd: Make glibc aware of "--with-headers" argument., Manolis Fragkiskos Ragkousis, 2015/10/08
- 16/17: gnu: base: Add libmachuser.so and libhurduser.so to libc.so's search path.,
Manolis Fragkiskos Ragkousis <=
- 08/17: gnu: base: Added glibc-for-target macro., Manolis Fragkiskos Ragkousis, 2015/10/08
- 07/17: gnu: base: Updated glibc-hurd to 2.19 and removed patches., Manolis Fragkiskos Ragkousis, 2015/10/08
- 02/17: gnu: cross-base: Add support to cross-build libc for GNU/Hurd., Manolis Fragkiskos Ragkousis, 2015/10/08
- 01/17: gnu: base: Add glibc-hurd and hurd-minimal., Manolis Fragkiskos Ragkousis, 2015/10/08