aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-16 23:49:13 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-16 23:49:13 +0000
commit1442d774635c736969812155a643048f47a4e279 (patch)
treeadb1a8f4190aac225568f8a374377d7f5f778771 /chapter06
parent78c5b5dd6124e5b626171caa3aba0ba03cf2cf0b (diff)
Update bzip2 installation to install relative symbolic links
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bzip2.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml
index 779f3702e..63af5e009 100644
--- a/chapter06/bzip2.xml
+++ b/chapter06/bzip2.xml
@@ -47,6 +47,10 @@
<screen><userinput remap="pre">patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
+ <para>The following command ensures installation of symbolic links are relative:</para>
+
+<screen><userinput remap="pre">sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile</userinput></screen>
+
<para>Prepare Bzip2 for compilation with:</para>
<screen><userinput remap="make">make -f Makefile-libbz2_so