gnu: musl: Install ldso symlink in correct location.

* gnu/packages/musl.scm (musl)[arguments]: Add a configure-flag to
install the ld-musl-*.so.1 symlink in the correct directory.

Change-Id: I6a90e62ad93317a6b883e4a0cf75ad2e2035f4a1
This commit is contained in:
Efraim Flashner 2024-06-25 15:46:34 +03:00
parent c32b31ecfc
commit d2585eda99
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2,6 +2,7 @@
;;; Copyright © 2016 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 20182020, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -21,6 +22,7 @@
(define-module (gnu packages musl)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages))
@ -38,7 +40,9 @@ (define-public musl
"1r3mgky9d19b2285s274qxzlgs7sncx8plm01vd691sdx2xii8d9"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f)) ; musl has no tests
(list #:tests? #f ; musl has no tests
#:configure-flags
#~(list (string-append "--syslibdir=" #$output "/lib"))))
(synopsis "Small C standard library")
(description "musl is a simple and lightweight C standard library. It
strives to be correct in the sense of standards-conformance and safety.")