musl: library paths file added.
parent
465954f63f
commit
b6861f94ec
|
@ -1,7 +1,22 @@
|
||||||
name: musl
|
name: musl
|
||||||
version: 1.1.23
|
version: 1.1.23
|
||||||
release: 1
|
release: 2
|
||||||
sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz
|
sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz
|
||||||
options:
|
options:
|
||||||
- configure: --prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static
|
- 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
|
||||||
|
|
||||||
|
|
Reference in New Issue