From b1b91826710349da5c3da7a97e4ce77834f77a7d Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 5 Sep 2023 18:04:21 +0800 Subject: chapter08: Move pkgconf before binutils It allows binutils to link to zstd, so binutils will have zstd-compressed debug section support (the compression is not enabled by default but can be enabled via LDFLAGS etc. if wanted). We also need to add libzstd.so.&zstd-version; into online_usrlib to prevent a crash in stripping. --- chapter08/stripping.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'chapter08/stripping.xml') diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 9e71f4382..68e0f8da1 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -94,6 +94,7 @@ online_usrlib="libbfd-&binutils-version;.so libm.so.6 libreadline.so.&readline-soversion; libz.so.&zlib-version; + libzstd.so.&zstd-version; $(cd /usr/lib; find libnss*.so* -type f)" for BIN in $online_usrbin; do -- cgit v1.2.3-54-g00ecf