diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/strippingagain.xml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index 825cd20e2..7692f6ce9 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -43,12 +43,11 @@ <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> - <screen><userinput>save_usrlib="ld-linux-x86-64.so.2 +<screen><userinput>save_usrlib="ld-linux-x86-64.so.2 libc.so.6 - libpthread.so.6 - libthread_db.so + libthread_db.so.1 libquadmath.so.&libquadmath-version; - libstdc++.so.6 + libstdc++.so.&libstdcpp-version; libitm.so.&libitm-version; libatomic.so.&libatomic-version;" @@ -64,13 +63,12 @@ for LIB in $save_usrlib; do done online_usrbin="bash find strip" -online_usrlib="libbfd.so - libdl.so.2 - libhistory.so - libncursesw.so - libm.so.6 - libreadline.so - libz.so +online_usrlib="libbfd-&binutils-version;.so + libhistory.so.&readline-version; + libncursesw.so.&ncurses-version; + libm.so.6 + libreadline.so.&readline-version; + libz.so.&zlib-version; $(cd /usr/lib; find libnss*.so* -type f)" for BIN in $online_usrbin; do |