musl: symlinks added for compatibility
parent
8ab9c05983
commit
a53f4f7e5e
|
@ -1,6 +1,6 @@
|
||||||
name: musl
|
name: musl
|
||||||
version: 1.1.23
|
version: 1.1.23
|
||||||
release: 2
|
release: 3
|
||||||
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
|
||||||
|
@ -9,7 +9,7 @@ options:
|
||||||
cd %{name}-%{version}
|
cd %{name}-%{version}
|
||||||
|
|
||||||
make DESTDIR="%{pkg}" install
|
make DESTDIR="%{pkg}" install
|
||||||
|
|
||||||
# FIXME: This’ll have to eventually be more automated.
|
# FIXME: This’ll have to eventually be more automated.
|
||||||
# FIXME: That path has to be edited on other architectures.
|
# FIXME: That path has to be edited on other architectures.
|
||||||
mkdir -p %{pkg}/etc
|
mkdir -p %{pkg}/etc
|
||||||
|
@ -20,3 +20,8 @@ options:
|
||||||
echo /usr/local/lib
|
echo /usr/local/lib
|
||||||
} > %{pkg}/etc/ld-musl-x86_64.path
|
} > %{pkg}/etc/ld-musl-x86_64.path
|
||||||
|
|
||||||
|
for lib in libm libpthread librt libdl; do
|
||||||
|
ln -s /lib/libc.a "%{pkg}/lib/${lib}.a"
|
||||||
|
ln -s /lib/libc.so "%{pkg}/lib/${lib}.so"
|
||||||
|
done
|
||||||
|
|
||||||
|
|
Reference in New Issue