diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/readjusting.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index c7ab66921..a3522a663 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -52,7 +52,8 @@ this:</para> <!-- Ampersands are needed to allow cut and paste --> -<screen><userinput>sed -i 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \ +<screen><userinput>perl -pi -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g;' \ + -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/@g;' \ `gcc --print-file specs`</userinput></screen> <para>Again, cutting and pasting the above is recommended. And just like |