fix libsec lib9 cycle

This commit is contained in:
rsc 2005-02-11 16:52:08 +00:00
parent 2a931b7266
commit 0d85a1cf7d

7
bin/9l
View file

@ -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" ]