From 0d85a1cf7df9d185da1327da43dc62d2447ad32c Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 Feb 2005 16:52:08 +0000 Subject: fix libsec lib9 cycle --- bin/9l | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/9l') diff --git a/bin/9l b/bin/9l index 7e8c90dc..2d08a470 100755 --- a/bin/9l +++ b/bin/9l @@ -97,6 +97,7 @@ then eval "have$i() { false; }" done havethread() { false; } + havesec() { false; } # now find correct order libsl="" @@ -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" ] -- cgit v1.2.3