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