diff --git a/examples/C/c b/examples/C/c index ee5bd3c..d29b600 100755 --- a/examples/C/c +++ b/examples/C/c @@ -375,21 +375,6 @@ while true; do fi done -# If we will be linking, then build list of libraries to link with. - -if [ "$LINKUP" = "yes" -o /$1/ = // ]; then - LIBLIST="" - for LIBRARY in lib*.a $LOCALLIBDIR/lib*.a $LIBDIR/lib*.a; do - if [ ! -f $LIBRARY ]; then - continue - fi - # Pull out the xxx from libxxx.a (or similar) - LIBNAME=`basename $LIBRARY | sed -e 's/^...\([^\.]*\)\..*$/\1/'` - LIBLIST="$LIBLIST -l$LIBNAME" - done - LIBLIST="$LIBLIST $STDLIBS $CCLIBS" -fi - CCOPTS="$EXTRA $CCOPTS" # Show help if no arguments if [ /$1/ = // ]; then