diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml index 148032dfe..4b7cbfb3c 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -8,10 +8,8 @@ Install Bzip2 by running the following commands: sed \ -   s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) - \$(LDFLAGS) -o"/ \ -   Makefile | make -f -LDFLAGS=-static - && +   s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \ +   Makefile | make -f -LDFLAGS=-static && make PREFIX=$LFS/usr install && cd $LFS/usr/bin && mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin