aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/musl.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-06-25 15:46:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-06-26 12:35:26 +0300
commitd2585eda996bf590fcc7b561f652cd783694d121 (patch)
treea1a0f19228fc689607d01e64d19e1de8c12e023d /gnu/packages/musl.scm
parentc32b31ecfcb7e6c51bfe457cce70d7b6b36b9cca (diff)
downloadguix-d2585eda996bf590fcc7b561f652cd783694d121.tar
guix-d2585eda996bf590fcc7b561f652cd783694d121.tar.gz
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
Diffstat (limited to 'gnu/packages/musl.scm')
-rw-r--r--gnu/packages/musl.scm6
1 files changed, 5 insertions, 1 deletions
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 <vincent.legoll@gmail.com>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018–2020, 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 @@
"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.")