mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 22:16:19 +00:00
bsdtar: static link bsdtar manually
This commit is contained in:
parent
607d8c335e
commit
3b5dfa886c
|
@ -6,6 +6,14 @@
|
||||||
--disable-rpath
|
--disable-rpath
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
# Since --enable-bsdtar=static doesn't work, link it manually
|
||||||
|
ld -static -o bsdtar tar/bsdtar-bsdtar.o tar/bsdtar-cmdline.o \
|
||||||
|
tar/bsdtar-creation_set.o tar/bsdtar-read.o tar/bsdtar-subst.o \
|
||||||
|
tar/bsdtar-util.o tar/bsdtar-write.o /usr/lib/crt1.o \
|
||||||
|
.libs/libarchive.a .libs/libarchive_fe.a /usr/lib/libz.a \
|
||||||
|
/usr/lib/libcrypto.a /usr/lib/liblzma.a /usr/lib/libc.a
|
||||||
|
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
ln -s bsdtar "$1/usr/bin/tar"
|
ln -s bsdtar "$1/usr/bin/tar"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user