URI: 
       tAdd -lutil on systems that have it. - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 2d8fd46b58ee8aa4a41f9a16ff80022aa1e7b7e9
   DIR parent f6dc1628d6b08cf674f0484f42810e04cb9e6e36
  HTML Author: rsc <devnull@localhost>
       Date:   Fri, 26 Mar 2004 02:09:17 +0000
       
       Add -lutil on systems that have it.
       
       Diffstat:
         M bin/9l                              |      12 ++++++++----
       
       1 file changed, 8 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/bin/9l b/bin/9l
       t@@ -1,13 +1,17 @@
        #!/bin/sh
        
       -extralibs=-lm
       +extralibs="-lm"
        tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}"
        case "$tag" in
        *OpenBSD*)        ld=gcc
       -                extralibs="$extralibs -lpthread"
       +                extralibs="$extralibs -lutil -lpthread"
       +                ;;
       +*BSD*)                ld=gcc
       +                extralibs="$extralibs -lutil"
       +                ;;
       +*Linux*)        ld=gcc
       +                extralibs="$extralibs -lutil"
                        ;;
       -*BSD*)                ld=gcc ;;
       -*Linux*)        ld=gcc ;;
        *Darwin*)        ld=gcc ;;
        *SunOS*)        ld="${CC9:-cc} -g"
                        extralibs="$extralibs -lrt -lpthread -lsocket -lnsl"