diff options
Diffstat (limited to 'chapter05/adjusting.xml')
-rw-r--r-- | chapter05/adjusting.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index ea14302fa..ae676717e 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -39,7 +39,7 @@ to the new dynamic linker. A simple sed script will accomplish this:</para> <!-- Ampersands are needed to allow cut and paste --> -<screen><userinput>SPECFILE=/tools/lib/gcc/*/*/specs && +<screen><userinput>SPECFILE=`gcc --print-file specs` && sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \ $SPECFILE > tempspecfile && mv -f tempspecfile $SPECFILE && |