mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 16:55:25 +01:00
Build dynamic versions of musl, curl, openssl, zlib, libgcc & guile
This is required for the Guix bootstrap to work.
This commit is contained in:
parent
14937efcb2
commit
511dcaabf8
9 changed files with 13 additions and 13 deletions
|
|
@ -1 +1 @@
|
|||
pass1.sh
|
||||
pass3.sh
|
||||
|
|
@ -9,7 +9,9 @@ src_configure() {
|
|||
--host="${TARGET}" \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--includedir="${PREFIX}/include/"
|
||||
--includedir="${PREFIX}/include/" \
|
||||
--enable-static \
|
||||
--enable-shared
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
|
@ -23,12 +25,13 @@ src_install() {
|
|||
rm "${DESTDIR}/lib/ld-musl-i386.so.1"
|
||||
rmdir "${DESTDIR}/lib"
|
||||
mkdir -p "${DESTDIR}${PREFIX}/lib"
|
||||
ln -sr "${DESTDIR}${LIBDIR}/libc.so" "${DESTDIR}${PREFIX}/lib/ld-musl-i386.so.1"
|
||||
ln -s "i386-unknown-linux-musl/libc.so" "${DESTDIR}${PREFIX}/lib/ld-musl-i386.so.1"
|
||||
ln -s "i386-unknown-linux-musl/libc.so" "${DESTDIR}${PREFIX}/lib/ld-linux.so.2"
|
||||
|
||||
# Make startup objects available in /usr/lib
|
||||
# Expected by GCC 10+
|
||||
for i in crt1.o crti.o crtn.o Scrt1.o rcrt1.o; do
|
||||
ln -sr "${DESTDIR}${LIBDIR}/${i}" "${DESTDIR}${PREFIX}/lib/${i}"
|
||||
ln -s "i386-unknown-linux-musl/${i}" "${DESTDIR}${PREFIX}/lib/${i}"
|
||||
done
|
||||
|
||||
# Add symlink for ldd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue