From b6861f94ecfd13e7c64d332330296dbd3fcc7ccc Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sun, 25 Aug 2019 17:23:54 +0200 Subject: [PATCH] musl: library paths file added. --- musl/recipe.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/musl/recipe.spec b/musl/recipe.spec index 09af31c..fe84082 100644 --- a/musl/recipe.spec +++ b/musl/recipe.spec @@ -1,7 +1,22 @@ name: musl version: 1.1.23 -release: 1 +release: 2 sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz options: - configure: --prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static +@install + cd %{name}-%{version} + + make DESTDIR="%{pkg}" install + + # FIXME: This’ll have to eventually be more automated. + # FIXME: That path has to be edited on other architectures. + mkdir -p %{pkg}/etc + { + echo /lib + echo /usr/weirdos/lib + echo /usr/bad/lib + echo /usr/local/lib + } > %{pkg}/etc/ld-musl-x86_64.path +