# HG changeset patch # User Rob Landley # Date 1277234426 18000 # Node ID fb05d8a5fd77ff0dba620ffc4024902b2317c7ea # Parent 2b7100b7de0c96122233bbd6072242a60f11f008 Oops, a debug bit leaked. Keep it in but make it not fail when HAVE_SHARED=n. diff -r 2b7100b7de0c -r fb05d8a5fd77 sources/sections/uClibc.build --- a/sources/sections/uClibc.build Tue Jun 22 00:58:59 2010 -0500 +++ b/sources/sections/uClibc.build Tue Jun 22 14:20:26 2010 -0500 @@ -27,7 +27,11 @@ cp .config "$STAGE_DIR/src/config-uClibc" && make_uClibc install || dienow -sed -i 's@/lib/@@g' "$STAGE_DIR/lib/libc.so" || dienow +# Old versions of uClibc couldn't be told not to hardwire absolute paths +# into their linker scripts. This isn't needed for current versions, and +# is allowed to fail if HAVE_SHARED=n + +sed -i 's@/lib/@@g' "$STAGE_DIR/lib/libc.so" 2>/dev/null # Build ldd and friends