tfix libsec lib9 cycle - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0d85a1cf7df9d185da1327da43dc62d2447ad32c
 (DIR) parent 2a931b7266c8a6550aca5f75b2ce3bf8655aa45b
 (HTM) Author: rsc <devnull@localhost>
       Date:   Fri, 11 Feb 2005 16:52:08 +0000
       
       fix libsec lib9 cycle
       
       Diffstat:
         M bin/9l                              |       7 +++++++
       
       1 file changed, 7 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/bin/9l b/bin/9l
       t@@ -97,6 +97,7 @@ then
                        eval "have$i() { false; }"
                done
                havethread() { false; }
       +        havesec() { false; }
        
                # now find correct order
                libsl=""
       t@@ -141,6 +142,12 @@ then
                        libsl="$libsl -lthread -l9"
                fi
        
       +        # cycle: lib9 netcrypt uses libsec
       +        if havesec
       +        then
       +                libsl="$libsl -lsec -l9"
       +        fi
       +
                if [ "x$needdraw" = xtrue ]
                then
                        if [ "x$X11" = "x" ]