From e45f19f97c59ee725c05ee0f642371988866dc5a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 22 Dec 2019 10:06:21 +0000 Subject: File-5.38 Vim-8.2.0024 Linux-5.4.6 Python-3.8.1 Some updates in SBU and disk usage git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11711 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/bzip2.xml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'chapter05/bzip2.xml') diff --git a/chapter05/bzip2.xml b/chapter05/bzip2.xml index 0a61d8f7e..4f1e3aab9 100644 --- a/chapter05/bzip2.xml +++ b/chapter05/bzip2.xml @@ -44,13 +44,39 @@ Installation of Bzip2 The Bzip2 package does not contain a configure - script. Compile and test it with: + script. There are two Makefile, one for the shared + library, and the other for the static library. Since we need both, We + do the compilation in two stages. First the shared library: + +make -f Makefile-libbz2_so +make clean + + + The meaning of the make parameter: + + + -f Makefile-libbz2_so + + This will cause Bzip2 to be built using a different + Makefile file, in this case the + Makefile-libbz2_so file, which creates a dynamic + libbz2.so library and links + the Bzip2 utilities against it. + + + + + + Compile and test the package with: make Install the package: -make PREFIX=/tools install +make PREFIX=/tools install +cp -v bzip2-shared /tools/bin/bzip2 +cp -av libbz2.so* /tools/lib +ln -sv libbz2.so.1.0 /tools/lib/libbz2.so -- cgit v1.2.3-54-g00ecf