From d2585eda996bf590fcc7b561f652cd783694d121 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 25 Jun 2024 15:46:34 +0300 Subject: [PATCH] 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 --- gnu/packages/musl.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/musl.scm b/gnu/packages/musl.scm index b783837ba5..0d409c3397 100644 --- a/gnu/packages/musl.scm +++ b/gnu/packages/musl.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016 Vincent Legoll ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2018–2020, 2022 Tobias Geerinckx-Rice +;;; Copyright © 2024 Efraim Flashner ;;; ;;; 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.")