aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/stripping.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-09-05 18:04:21 +0800
committerXi Ruoyao <xry111@xry111.site>2023-09-05 18:19:55 +0800
commitb1b91826710349da5c3da7a97e4ce77834f77a7d (patch)
tree1d13739e26559e67eeb521aa158d0bd60bf590a2 /chapter08/stripping.xml
parent1ec60f1daf34b0021d903405899a217e4d214b93 (diff)
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.
Diffstat (limited to 'chapter08/stripping.xml')
-rw-r--r--chapter08/stripping.xml1
1 files changed, 1 insertions, 0 deletions
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