mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Merged build and package in treetap
This commit is contained in:
@@ -18,17 +18,9 @@ build() {
|
||||
patch -p1 < ../CVE-2025-26519.patch
|
||||
./configure $TT_AUTOCONF_COMMON
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf musl-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd musl-*/
|
||||
DESTDIR=$TT_INSTALLDIR make install
|
||||
# NOTE: Apparently, the linker library has an entry point that we can use as
|
||||
# ldd. What kind of black magic is this? ~ahill
|
||||
mkdir -p $TT_INSTALLDIR/bin
|
||||
ln -sf /lib/ld-musl-$TT_ARCH.so.1 $TT_INSTALLDIR/bin/ldd
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user