diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:17:02 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:17:02 -0500 |
commit | 66d4171655e0b93766c82f50ce06521f85b58222 (patch) | |
tree | 1b6d1cbcbc169e5cbb4e6ea6698ed91d82d7cc88 /chapter6/xz.sh | |
parent | 9d68d5da4115353816ab4f6b1c7a4f5db43576f9 (diff) | |
parent | 887bf450c01c511a3f6d048d3db78e8edfb21e8a (diff) |
Merge branch 'master' into chapter7
Diffstat (limited to 'chapter6/xz.sh')
-rw-r--r-- | chapter6/xz.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chapter6/xz.sh b/chapter6/xz.sh index 7515350..12a43ce 100644 --- a/chapter6/xz.sh +++ b/chapter6/xz.sh @@ -1,10 +1,12 @@ +#!/bin/bash + ./configure --prefix=/usr \ - --host=${LFS_TGT} \ - --build=$(build-aux/config.guess) \ + --host="${LFS_TGT}" \ + --build="$(build-aux/config.guess)" \ --disable-static \ --docdir=/usr/share/doc/xz-5.2.5 && make && -make DESTDIR=${LFS} -j1 install -mv -v ${LFS}/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} ${LFS}/bin && -mv -v ${LFS}/usr/lib/liblzma.so.* ${LFS}/lib && -ln -svf ../../lib/$(readlink ${LFS}/usr/lib/liblzma.so) ${LFS}/usr/lib/liblzma.so +make DESTDIR="${LFS}" -j1 install +mv -v "${LFS}"/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} "${LFS}"/bin && +mv -v "${LFS}"/usr/lib/liblzma.so.* "${LFS}"/lib && +ln -svf ../../lib/"$(readlink "${LFS}"/usr/lib/liblzma.so)" "${LFS}"/usr/lib/liblzma.so |